Media / foldkit-media/vite

IconsOptions

interface · packages/media/src/vite/index.ts:21

interface IconsOptions {
  readonly iconify?: ReadonlyArray<string> | undefined
  readonly folders?: Readonly<Record<string, string>> | undefined
  readonly dts?: string | false | undefined
}

Members

IconsOptions.iconify

property · packages/media/src/vite/index.ts:23

readonly iconify?: ReadonlyArray<string> | undefined

Iconify sets by prefix (lucide, uil), each read from the application's @iconify-json/<prefix>.

IconsOptions.folders

property · packages/media/src/vite/index.ts:25

readonly folders?: Readonly<Record<string, string>> | undefined

The application's own sets: a name, and a folder whose SVG files are its icons, each named by its file.

IconsOptions.dts

property · packages/media/src/vite/index.ts:27

readonly dts?: string | false | undefined

Where the declaration of every set is written, from the root: foldkit-icons.d.ts unless given; false writes none.