diff --git a/README.md b/README.md index 2228e23..e1c2edf 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ export default defineConfig({ svg({ root: 'assets', output: 'public', - definition: 'src/shared/ui/icon/sprite.h.ts' + definitions: 'src/shared/ui/icon/sprite.h.ts' }) ] }); @@ -94,7 +94,7 @@ export default { svg({ root: 'assets', output: 'public', - definition: 'src/shared/ui/icon/sprite.h.ts' + definitions: 'src/shared/ui/icon/sprite.h.ts' }) ] }; @@ -113,7 +113,7 @@ export default { svg({ root: 'assets', output: 'public', - definition: 'src/shared/ui/icon/sprite.h.ts' + definitions: 'src/shared/ui/icon/sprite.h.ts' }) ] }; @@ -132,7 +132,7 @@ export default { svg({ root: 'assets', output: 'public', - definition: 'src/shared/ui/icon/sprite.h.ts' + definitions: 'src/shared/ui/icon/sprite.h.ts' }) ] }; diff --git a/libs/svg/README.md b/libs/svg/README.md index 0c397c5..ad1d15b 100644 --- a/libs/svg/README.md +++ b/libs/svg/README.md @@ -398,7 +398,7 @@ By default, it creates a single sprite containing all icons without any grouping ```tsx // shared/ui/icon/icon.tsx import clsx from 'clsx'; -import { SVGProps, ForwardedRef, forwardRef } from 'react'; +import { SVGProps } from 'react'; import { SpritesMap } from './sprite.gen'; // Merging all icons as `SPRITE_NAME/SPRITE_ICON_NAME`