import { Meta, StoryFn, StoryObj } from '@storybook/react'
import React from 'react'
import { Button, Header, Text } from '../index.js'
import { Box, BoxProps } from './index.js'
export const Default: StoryObj = {
render: (props) => Box example,
}
const variants: BoxProps['variant'][] = ['card', 'container', 'grey', 'transparent', 'white']
export const simpleWhiteGrayWrapper: StoryFn = () => (
This is the default wrapper in the application
)
export const positioningButtons: StoryFn = () => (
Some header
)
const meta: Meta = {
title: 'DesignSystem/Atoms/Box',
component: Box,
parameters: {
controls: {
include: ['variant'],
},
},
argTypes: {
variant: { options: variants, control: { type: 'select' } },
},
}
export default meta