MCPcopy Create free account
hub / github.com/adobe/react-spectrum / constructor

Method constructor

packages/@react-spectrum/s2/style/style-macro.ts:1030–1034  ·  view source on GitHub ↗
(rules: Rule[], prelude: string, layer: string | null, themeCondition: string | null)

Source from the content-addressed store, hash-verified

1028 themeCondition: string | null;
1029
1030 constructor(rules: Rule[], prelude: string, layer: string | null, themeCondition: string | null) {
1031 super(rules, layer);
1032 this.prelude = prelude;
1033 this.themeCondition = themeCondition;
1034 }
1035
1036 copy(): Rule {
1037 return new AtRule(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected