import type { Meta, StoryObj } from '@storybook/react' import { useState } from 'react' import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from './dialog' const meta: Meta = { title: 'Primitives/Dialog', parameters: { layout: 'centered', backgrounds: { default: 'dark' } }, } export default meta type Story = StoryObj export const Default: Story = { name: 'Default', render: () => { const [open, setOpen] = useState(true) return ( Session Configuration Configure the runtime environment for your sandbox session. Changes take effect on the next session start.
) }, } export const SandboxVariant: Story = { name: 'Sandbox Variant', render: () => { const [open, setOpen] = useState(true) return ( New Sandbox Session Provision a fresh container with your selected runtime. Sessions auto-terminate after the configured timeout.
) }, } export const DestructiveAction: Story = { name: 'Destructive Action', render: () => { const [open, setOpen] = useState(true) return ( Terminate session? This will immediately kill the running process and destroy all ephemeral data. This action cannot be undone.
Session sess_01j9x8k2m... has been running for 47 minutes. Unsaved work will be lost.
) }, }