@zenkigen-inc/component-icons 1.14.5 → 1.15.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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,13 +66,13 @@ yarn build:all
|
|
|
66
66
|
|
|
67
67
|
### 4. アイコンの利用
|
|
68
68
|
|
|
69
|
-
ビルド後、追加したアイコンは
|
|
69
|
+
ビルド後、追加したアイコンは Icon コンポーネントで利用できます:
|
|
70
70
|
|
|
71
71
|
```tsx
|
|
72
|
-
import {
|
|
72
|
+
import { Icon } from '@zenkigen-inc/component-ui';
|
|
73
73
|
|
|
74
74
|
// 追加したアイコンを表示
|
|
75
|
-
<
|
|
75
|
+
<Icon name="new-icon-name" />;
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
アイコン名は、ファイル名から拡張子を除いたものになります (例: `arrow-right.svg` → `'arrow-right'`)
|