mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
10 lines
851 B
JSON
10 lines
851 B
JSON
{
|
|
"name": "dialog-stack-demo",
|
|
"files": [
|
|
{
|
|
"name": "dialog-stack-demo.tsx",
|
|
"content": "import { DialogStack } from \"@/registry/default/ui/dialog-stack\"\n\nexport default function DialogStackDemo() {\n const dialogs = [\n {\n id: \"1\",\n title: \"Welcome\",\n content: \"Welcome to the dialog stack demo. This is the first dialog.\",\n },\n {\n id: \"2\",\n title: \"Settings\",\n content: \"Configure your application settings here.\",\n },\n {\n id: \"3\",\n title: \"Confirmation\",\n content: \"Are you sure you want to proceed with this action?\",\n },\n ]\n\n return (\n <div className=\"w-full min-h-[400px] flex items-center justify-center\">\n <DialogStack dialogs={dialogs} />\n </div>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |