Initial commit

This commit is contained in:
James Jia - Test
2023-09-08 13:52:13 -07:00
commit 4b86068d8f
584 changed files with 59963 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import type { Story } from '@ladle/react';
import { ButtonShape, ButtonSize } from '@/constants/buttons';
import { StoryWrapper } from '.ladle/components';
import { ToggleButton } from './ToggleButton';
export const ToggleButtonStory: Story<Parameters<typeof ToggleButton>> = (args) => (
<StoryWrapper>
<ToggleButton {...args}>Toggle me</ToggleButton>
</StoryWrapper>
);
ToggleButtonStory.argTypes = {
size: {
options: Object.values(ButtonSize),
control: { type: 'select' },
defaultValue: ButtonSize.XSmall,
},
shape: {
options: Object.values(ButtonShape),
control: { type: 'select' },
defaultValue: ButtonShape.Pill,
},
};