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

Method toCSS

packages/@react-spectrum/s2/style/style-macro.ts:1045–1049  ·  view source on GitHub ↗
(rulesByLayer: Map<string, string[]>, preludes: string[] = [], layer?: string)

Source from the content-addressed store, hash-verified

1043 }
1044
1045 toCSS(rulesByLayer: Map<string, string[]>, preludes: string[] = [], layer?: string): void {
1046 preludes.push(this.prelude);
1047 super.toCSS(rulesByLayer, preludes, layer);
1048 preludes?.pop();
1049 }
1050
1051 toJS(allowedOverridesSet: Set<string>, indent?: string): string {
1052 conditionStack.push(this.themeCondition || this.prelude);

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
toCSSMethod · 0.65

Tested by

no test coverage detected