apphouse
Version:
Component library for React that uses observable state management and theme-able components.
22 lines (21 loc) • 700 B
TypeScript
/**
* Force first letter lowercase on a word
* @param string string
* @returns
*/
export declare function forceFirstLetterLowercase(str: string): string;
/**
* Get css properties values
* @param value object to be parsed
* @returns css property value
*/
export declare function getLeafPropertyValue(value: object | {
[property: string]: object;
} | string | number): object | string | number;
type NormalizedKeyEntry = {
[tokenId: string]: string | number;
} | string | number;
export declare const normalizeObjectKeys: (obj: NormalizedKeyEntry) => NormalizedKeyEntry;
/** Remove CSS properties from colors */
export declare function normalizeColors<T>(colors: object): T;
export {};