ComponentStyle.d.ts 618 B

123456789101112131415
  1. import StyleSheet from '../sheet';
  2. import { ExecutionContext, RuleSet, Stringifier } from '../types';
  3. /**
  4. * ComponentStyle is all the CSS-specific stuff, not the React-specific stuff.
  5. */
  6. export 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. }