MCPcopy Create free account
hub / github.com/vanilla-extract-css/vanilla-extract / CompiledCodeProps

Interface CompiledCodeProps

site/src/Code/CompiledCode.tsx:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export interface CompiledCodeProps {
18 code: Array<File>;
19 css?: Record<string, string>;
20 background?: {
21 lightMode: keyof typeof vars.palette;
22 darkMode: keyof typeof vars.palette;
23 };
24}
25
26export const CompiledCode = ({ code, css, background }: CompiledCodeProps) => {
27 const [activeFileName, setActiveFileName] = useState(code[0].fileName);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…