import { useState } from 'react' import { BottomSheet } from '@astryxdesign/core/BottomSheet' import { Button } from '@astryxdesign/core/Button' import { Dialog, DialogHeader } from '@astryxdesign/core/Dialog' import { Drawer, DrawerHeader } from '@astryxdesign/core/Drawer' import { HStack } from '@astryxdesign/core/HStack' import { Layout, LayoutContent } from '@astryxdesign/core/Layout' import { Section } from '@astryxdesign/core/Section' import { Heading } from '@astryxdesign/core/Heading' import { Text } from '@astryxdesign/core/Text' import { VStack } from '@astryxdesign/core/VStack' type ActiveLayer = 'dialog' | 'drawer' | 'sheet' | null export function DialogsDemo() { const [active, setActive] = useState(null) return ( <>