UNPKG

apphouse

Version:

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

7 lines (6 loc) 263 B
/** * Checks if a string is a valid hex color. * @param {string} color - The color string to validate. * @returns {boolean} Returns true if the color string is a valid hex color, otherwise false. */ export declare function isHexColor(color: string): boolean;