diff --git a/.gitignore b/.gitignore index 13a55df9..fbd741f5 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ public/dist !.yarn/releases !.yarn/sdks !.yarn/versions + +tsconfig.tsbuildinfo \ No newline at end of file diff --git a/apps/storybook/stories/button.stories.tsx b/apps/storybook/stories/button.stories.tsx index 6aea4ee6..e7b8af01 100644 --- a/apps/storybook/stories/button.stories.tsx +++ b/apps/storybook/stories/button.stories.tsx @@ -6,10 +6,9 @@ import type { ButtonDisplay, ButtonSize, ButtonType, - ButtonVariant} from '@tih/ui'; -import { - Button + ButtonVariant, } from '@tih/ui'; +import { Button } from '@tih/ui'; const buttonTypes: ReadonlyArray = ['button', 'reset', 'submit']; const buttonSizes: ReadonlyArray = ['sm', 'md', 'lg']; @@ -32,13 +31,13 @@ export default { control: { type: 'select' }, options: buttonAddOnPositions, }, + disabled: { + control: 'boolean', + }, display: { control: { type: 'select' }, options: buttonDisplays, }, - isDisabled: { - control: 'boolean', - }, isLoading: { control: 'boolean', }, @@ -112,7 +111,7 @@ export function Disabled() { {buttonVariants.map((variant) => (