src/components/aspect-ratio-box/__stories__/index.stories.tsx
import { ComponentStory, ComponentMeta } from '@storybook/react';
import AspectRatioBox from '../index';
export default {
title: 'Components/AspectRatioBox',
component: AspectRatioBox,
argTypes: {
type: { control: 'select', options: ['1:1', '16:9'], defaultValue: '1:1' },
backgroundColor: { control: 'color', defaultValue: '#625f39' },
width: { control: 'text', defaultValue: '300px' },
},
} as ComponentMeta<typeof AspectRatioBox>;
export const Template: ComponentStory<typeof AspectRatioBox> = ({
width,
backgroundColor,
...args
}) => <AspectRatioBox {...args} style={{ backgroundColor, width }} />;
// export const Primary = Template.bind({});
// Primary.args = {
// primary: true,
// label: 'Button',
// };
// export const Secondary = Template.bind({});
// Secondary.args = {
// label: 'Button',
// };
// export const Large = Template.bind({});
// Large.args = {
// size: 'large',
// label: 'Button',
// };
// export const Small = Template.bind({});
// Small.args = {
// size: 'small',
// label: 'Button',
// };