amis-rpc-design/node_modules/styled-components/dist/models/GlobalStyle.d.ts

12 lines
625 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;
}