()
| 136 | SheetDescription.displayName = SheetPrimitive.Description.displayName; |
| 137 | |
| 138 | export 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 | |
| 146 | export { |
| 147 | Sheet, |