UNPKG

styled-components

Version:

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress

16 lines (15 loc) 578 B
import StyleSheet from '../sheet'; import { RuleSet, Stringifier } from '../types'; /** * ComponentStyle is all the CSS-specific stuff, not the React-specific stuff. */ export default class ComponentStyle { baseHash: number; baseStyle: ComponentStyle | null | undefined; componentId: string; isStatic: boolean; rules: RuleSet<any>; staticRulesId: string; constructor(rules: RuleSet<any>, componentId: string, baseStyle?: ComponentStyle); generateAndInjectStyles(executionContext: Object, styleSheet: StyleSheet, stylis: Stringifier): string; }