feat: добавить entry-point для React-модуля

- добавлена генерация index.ts рядом с React-компонентом

- добавлен тест генерации directory import

- обновлена документация ожидаемого output
This commit is contained in:
2026-05-20 14:02:28 +03:00
parent dab7685cf2
commit 3a60b5c6ae
5 changed files with 69 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
/** @generated — this file is auto-generated, do not edit manually. */
export { SvgSprite } from './svg-sprite'
export type {
SvgSpriteProps,
SpriteName,
SpriteMap,
IconName,
DefaultSprite,
} from './svg-sprite'