UNPKG

@synergy-design-system/assets

Version:
14 lines (13 loc) 725 B
import { sick2018Icons, sick2025Icons } from './index.js'; export type Icon2018Keys = keyof typeof sick2018Icons; export type Icon2025Keys = keyof typeof sick2025Icons; export type AllowedIconkeys = Icon2018Keys | Icon2025Keys; export type AllowedIconsets = 'sick2018' | 'sick2025'; /** * Creates a SVG sprite sheet with the given icons. * @param icons The icon keys to use * @param iconset The icon set to use, either 'sick2018' or 'sick2025'. Defaults to 'sick2018'. * @returns String representation of the SVG sprite sheet */ export declare function createSpriteSheet(icons: Icon2018Keys[], iconset?: 'sick2018'): string; export declare function createSpriteSheet(icons: Icon2025Keys[], iconset: 'sick2025'): string;