styled-components
Version:
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress
7 lines (6 loc) • 309 B
TypeScript
import { IInlineStyleConstructor, StyleSheet } from '../types';
export declare const resetStyleCache: () => void;
/**
* InlineStyle takes arbitrary CSS and generates a flat object
*/
export default function makeInlineStyleClass<Props extends object>(styleSheet: StyleSheet): IInlineStyleConstructor<Props>;