12 lines
625 B
TypeScript
12 lines
625 B
TypeScript
import StyleSheet from '../sheet';
|
|
import { ExecutionContext, RuleSet, Stringifier } from '../types';
|
|
export default class GlobalStyle<Props extends object> {
|
|
componentId: string;
|
|
isStatic: boolean;
|
|
rules: RuleSet<Props>;
|
|
constructor(rules: RuleSet<Props>, componentId: string);
|
|
createStyles(instance: number, executionContext: ExecutionContext & Props, styleSheet: StyleSheet, stylis: Stringifier): void;
|
|
removeStyles(instance: number, styleSheet: StyleSheet): void;
|
|
renderStyles(instance: number, executionContext: ExecutionContext & Props, styleSheet: StyleSheet, stylis: Stringifier): void;
|
|
}
|