@types/css-to-react-native
Version:
TypeScript definitions for css-to-react-native
12 lines (7 loc) • 373 B
TypeScript
export type StyleTuple = [string, string];
export interface Style {
[key: string]: string | number | Style;
}
export function getPropertyName(name: string): string;
export function getStylesForProperty(name: string, value: string, allowShorthand?: boolean): Style;
export default function transform(styleTuples: StyleTuple[], shorthandBlacklist?: string[]): Style;