import React from 'react'; import { StoryFn, Meta } from '@storybook/react'; import { AlignItems, Display } from '../../../helpers/constants/design-system'; import { Box } from '..'; import README from './README.mdx'; import { ButtonPrimary, ButtonPrimarySize } from '.'; export default { title: 'Components/ComponentLibrary/ButtonPrimary', component: ButtonPrimary, parameters: { docs: { page: README, }, }, argTypes: { as: { control: 'select', options: ['button', 'a'], }, size: { control: 'select', options: Object.values(ButtonPrimarySize), }, }, args: { children: 'Button Primary', }, } as Meta; export const DefaultStory: StoryFn = (args) => ( ); DefaultStory.storyName = 'Default'; export const SizeStory: StoryFn = (args) => ( Small Button Medium (Default) Button Large Button ); SizeStory.storyName = 'Size'; export const Danger: StoryFn = (args) => ( Normal {/* Test Anchor tag to match exactly as button */} Danger );