UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

19 lines (18 loc) 478 B
/** * Map of shirt sizes, and their respective pixel sizes. */ export declare const sizeMap: { readonly s: 16; readonly m: 20; readonly l: 24; }; /** * Size of an icon, denoted as a shirt size. */ export type Size = "s" | "m" | "l"; /** * Validates the specified size is a known, and valid, size. * @param size Size to validate. * @returns `true` when the size is valid; otherwise `false`. */ export declare function isValidSize(size: string): size is Size;