import type { Meta, StoryObj } from '@storybook/react-vite'; import { Story } from './_internal/Story'; import { Text } from './Text'; import { YStack } from './YStack'; const meta = { component: YStack, parameters: { layout: 'fullscreen', }, title: 'components/YStack', } satisfies Meta; export default meta; type StoryDefinition = StoryObj; function Item({ children }: { children: string }) { return ( {children} ); } export const All: StoryDefinition = { render: () => ( Heading Supporting content Actions Narrow item Another item Top Middle Bottom Vertical by default Horizontal from md ), };