Skip to content

Commit

Permalink
docs(icon): add module import to docs (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnixaa authored and yggg committed Jul 16, 2019
1 parent 0fde6ff commit 14b9a10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/articles/guides/custom-icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export class AppModule { }
```
Import `NbIconModule` into your feature module where you need to show the icon:
```ts
import { NbIconModule } from '@nebular/theme';

@NgModule({
imports: [
// ...
Expand Down
2 changes: 2 additions & 0 deletions src/framework/theme/components/icon/icon.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ import { NbIconLibraries } from './icon-libraries';
* ```
* Last thing, import `NbIconModule` to your feature module where you need to show an icon:
* ```ts
* import { NbIconModule } from '@nebular/theme';
*
* @NgModule({
* imports: [
* // ...
Expand Down

0 comments on commit 14b9a10

Please sign in to comment.