import type { Meta, StoryObj } from '@storybook/react-vite'; import { Story } from './_internal/Story'; import { Text } from './Text'; import { XStack } from './XStack'; const meta = { component: XStack, parameters: { layout: 'fullscreen', }, title: 'components/XStack', } satisfies Meta; export default meta; type StoryDefinition = StoryObj; function Item({ children }: { children: string }) { return ( {children} ); } export const All: StoryDefinition = { render: () => ( Avatar Profile details Status Leading action Trailing action {['Design', 'Engineering', 'Product', 'Research', 'Support'].map( (label) => ( {label} ), )} Horizontal by default Vertical below sm ), };