UNPKG

625 BTypeScriptView Raw
1import StyleSheet from '../sheet';
2import { ExecutionContext, RuleSet, Stringifier } from '../types';
3export default class GlobalStyle<Props extends object> {
4 componentId: string;
5 isStatic: boolean;
6 rules: RuleSet<Props>;
7 constructor(rules: RuleSet<Props>, componentId: string);
8 createStyles(instance: number, executionContext: ExecutionContext & Props, styleSheet: StyleSheet, stylis: Stringifier): void;
9 removeStyles(instance: number, styleSheet: StyleSheet): void;
10 renderStyles(instance: number, executionContext: ExecutionContext & Props, styleSheet: StyleSheet, stylis: Stringifier): void;
11}