import type { Meta, StoryObj } from '@storybook/react'; import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from '@konobangu/design-system/components/ui/resizable'; /** * Accessible resizable panel groups and layouts with keyboard support. */ const meta: Meta = { title: 'ui/ResizablePanelGroup', component: ResizablePanelGroup, tags: ['autodocs'], argTypes: { onLayout: { control: false, }, }, args: { className: 'max-w-96 rounded-lg border', direction: 'horizontal', }, render: (args) => (
One
Two
Three
), } satisfies Meta; export default meta; type Story = StoryObj; /** * The default form of the resizable panel group. */ export const Default: Story = {};