Files
nanocode/RetroUI/preview/components/drawer-style-default.tsx
T
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

29 lines
991 B
TypeScript

import * as React from "react"
import { Drawer } from "@/components/retroui/Drawer"
import { Button } from "@/components/retroui/Button"
export default function DrawerStyleDefault() {
return (
<Drawer>
<Drawer.Trigger asChild>
<Button>Submit</Button>
</Drawer.Trigger>
<Drawer.Content>
<Drawer.Header>
<Drawer.Title>Are you absolutely sure?</Drawer.Title>
<Drawer.Description>This action cannot be undone.</Drawer.Description>
</Drawer.Header>
<Drawer.Footer>
<div className="flex justify-center gap-3">
<Button>Submit</Button>
<Drawer.Close>
<Button variant="outline">Cancel</Button>
</Drawer.Close>
</div>
</Drawer.Footer>
</Drawer.Content>
</Drawer>
)
}