@fichap/icons-react 1.0.2 → 1.0.4
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 -0
- package/dist/index.d.mts +148 -7
- package/dist/index.d.ts +148 -7
- package/dist/index.js +2004 -1119
- package/dist/index.mjs +1971 -1118
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,12 @@ export function Demo() {
|
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
## Recommended usage
|
|
42
|
+
|
|
43
|
+
- For app consumers, prefer the `Icon` wrapper plus `name` when you want a single stable import.
|
|
44
|
+
- Use direct icon imports when you explicitly want component-level imports, custom wrappers, or tighter control over what is imported.
|
|
45
|
+
- Both styles share the same `IconSvgProps` contract.
|
|
46
|
+
|
|
41
47
|
## API
|
|
42
48
|
|
|
43
49
|
- Each generated icon component accepts `IconSvgProps`:
|