import React from 'react'; import type { Meta, StoryObj } from '@storybook/react-vite'; import { Button } from '../Button/Button'; import { Stack } from '../Stack/Stack'; import { Spacer } from './Spacer'; const meta: Meta = { title: 'UI kit/Spacer', component: Spacer, tags: ['autodocs'], argTypes: { size: { control: { type: 'radio' }, options: [true, false, 'xxs', 'xs', 'sm', 'md', 'lg', 'xl', 'xxl'], }, }, }; export default meta; type Story = StoryObj; export const Default: Story = { args: { grow: false, size: true, }, render: props => , decorators: [ (Story: React.ComponentType, context) => ( ), ], }; export const Vertical: Story = { args: { grow: false, size: true, }, render: props => , decorators: [ (Story: React.ComponentType, context) => ( ), ], };