MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / closeSheet

Function closeSheet

apps/start/src/components/ui/sheet.tsx:138–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136SheetDescription.displayName = SheetPrimitive.Description.displayName;
137
138export function closeSheet() {
139 if (typeof document === 'undefined') return;
140 const element = document.querySelector('#close-sheet');
141 if (element instanceof HTMLElement) {
142 element.click();
143 }
144}
145
146export {
147 Sheet,

Callers 1

CreateInviteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected