import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import { ButtonPrimary } from './button-primary'; # ButtonPrimary The `ButtonPrimary` is an extension of `ButtonBase` to support primary styles. ## Props ### Size Use the `size` prop and the `ButtonPrimarySize` enum from `./ui/components/component-library` to change the size of `ButtonPrimary`. Defaults to `ButtonPrimarySize.Md` Possible sizes include: - `ButtonPrimarySize.Sm` 32px - `ButtonPrimarySize.Md` 40px - `ButtonPrimarySize.Lg` 48px ```jsx import { ButtonPrimary, ButtonPrimarySize } from '../../component-library'; ``` ### Danger Use the `danger` boolean prop to change the `ButtonPrimary` to danger color. ```jsx import { ButtonPrimary } from '../../component-library'; Normal Danger ```