UNPKG

618 BTypeScriptView Raw
1import StyleSheet from '../sheet';
2import { ExecutionContext, RuleSet, Stringifier } from '../types';
3/**
4 * ComponentStyle is all the CSS-specific stuff, not the React-specific stuff.
5 */
6export default class ComponentStyle {
7 baseHash: number;
8 baseStyle: ComponentStyle | null | undefined;
9 componentId: string;
10 isStatic: boolean;
11 rules: RuleSet<any>;
12 staticRulesId: string;
13 constructor(rules: RuleSet<any>, componentId: string, baseStyle?: ComponentStyle | undefined);
14 generateAndInjectStyles(executionContext: ExecutionContext, styleSheet: StyleSheet, stylis: Stringifier): string;
15}