@steeze-ui/heroicons
Version:
Icon Sources (based on heroicons 2.0) built for @steeze-ui/icons
9 lines (7 loc) • 301 B
TypeScript
type AllowedTags = 'path' | 'circle' | 'rect' | 'polygon' | 'polyline' | 'line'
type IconThemeSource = {
a: { [attribute: string]: string }
} & {
[tag in AllowedTags]?: { [attribute: string]: string }[]
}
export type IconSource = { default: IconThemeSource } & { [theme: string]: IconThemeSource }