Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons-angular package #1091

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Describe loading all icons in readme
  • Loading branch information
Bartłomiej Gawęda committed Apr 13, 2024
commit a6a481584ff67c9f2384e2e038d17cb4c978952c
14 changes: 14 additions & 0 deletions packages/icons-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 183,20 @@ You are able to set all three properties or just some of them.
{ provide: TablerIconConfig, useValue: { size: 40 } }
```

## Loading all icons

There is also a possibility to import all icons at once but this can cause a **significant growth of your application build size**.

```ts
import { icons, TablerIconComponent, TablerIconModule } from '@tabler/icons-angular';

@NgModule({
imports: [TablerIconModule.pick(icons), TablerIconComponent],
// other configuration
})
export class AppModule {}
```

## Contributing

For more info on how to contribute please see the [contribution guidelines](https://github.com/tabler/tabler-icons/blob/main/CONTRIBUTING.md).
Expand Down
Loading