UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

13 lines (12 loc) 477 B
/** * Detects if string has a valid font size unit in it * @param value * @returns true it encounters a valid font size unit, otherwise false */ export declare const hasFontSizeUnit: (value: string | number) => boolean; /** * Checks if the value is a valid font size unit * @param value the string or number value to check * @returns boolean if true, the value is a valid font size unit */ export declare const isValidFontSizeUnit: (value: string | number) => boolean;