MCPcopy Create free account
hub / github.com/PageAI-Pro/page-ui / viewCode

Function viewCode

components/bricks/brick-code-toggle.tsx:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 const [open, setOpen] = useState(false);
31
32 const viewCode = () => {
33 setOpen(true);
34 };
35
36 return (
37 <Dialog open={open} onOpenChange={setOpen}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected