UNPKG

535 BTypeScriptView Raw
1import * as IconSvgPaths16 from "./generated/16px/paths";
2import * as IconSvgPaths20 from "./generated/20px/paths";
3import type { IconName } from "./iconNames";
4import type { PascalCase } from "./type-utils";
5export { IconSvgPaths16, IconSvgPaths20 };
6/**
7 * Type safe string literal conversion of snake-case icon names to PascalCase icon names,
8 * useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
9 */
10export declare function iconNameToPathsRecordKey(name: IconName): PascalCase<IconName>;