@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
11 lines (10 loc) • 543 B
TypeScript
import * as IconSvgPaths16 from "./generated/16px/paths";
import * as IconSvgPaths20 from "./generated/20px/paths";
import type { IconName } from "./iconNames";
import type { PascalCase } from "./type-utils";
export { IconSvgPaths16, IconSvgPaths20 };
/**
* Type safe string literal conversion of snake-case icon names to PascalCase icon names.
* This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
*/
export declare function iconNameToPathsRecordKey(name: IconName): PascalCase<IconName>;