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