Skip to content

Commit

Permalink
docs(icon): correct typo in a property name (#2615)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Dec 16, 2020
1 parent 72bb1b3 commit ded6aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/articles/guides/custom-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ If the icons are provided as SVG elements, you can register the pack as follows:
import { NbIconLibraries } from '@nebular/theme';

constructor(private iconLibraries: NbIconLibraries) {
this.iconsLibrary.registerSvgPack('social-networks', {
this.iconLibraries.registerSvgPack('social-networks', {
'facebook': '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24"> ... </svg>',
'twitter': '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24"> ... </svg>',
// ...
Expand Down

0 comments on commit ded6aa2

Please sign in to comment.