@semantic-icons/bootstrap-icons 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,26 +21,26 @@ Now each icon can be imported individually as an Angular component:
|
|
|
21
21
|
```js
|
|
22
22
|
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
23
23
|
|
|
24
|
-
import {
|
|
24
|
+
import { SiBalloonIcon } from '@semantic-icons/bootstrap-icons';
|
|
25
25
|
|
|
26
26
|
@Component({
|
|
27
27
|
selector: 'app-home-page',
|
|
28
28
|
standalone: true,
|
|
29
|
-
imports: [
|
|
29
|
+
imports: [SiBalloonIcon],
|
|
30
30
|
template: `
|
|
31
|
-
<svg
|
|
31
|
+
<svg class="text-blue-500 size-6" si-balloon-icon></svg>
|
|
32
32
|
`,
|
|
33
33
|
styles: ``,
|
|
34
34
|
encapsulation: ViewEncapsulation.None,
|
|
35
35
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
36
36
|
})
|
|
37
|
-
export class
|
|
37
|
+
export default class HomePage {}
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
The icons can be imported from `@semantic-icons/bootstrap-icons`.
|
|
41
41
|
|
|
42
|
-
Icons use the Angular naming convention and are always prefixed with the word `
|
|
42
|
+
Icons use the Angular naming convention and are always prefixed with the word `si` and suffixed with the word `icon`.
|
|
43
43
|
|
|
44
44
|
## License
|
|
45
45
|
|
|
46
|
-
MIT © 2024-
|
|
46
|
+
MIT © 2024-2025 Khalil LAGRIDA
|