From ef917259f85e04d4325563f7a123a2760703e8ac Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Thu, 24 Aug 2023 14:45:53 -0300 Subject: [PATCH] chore: improve stories --- .../src/components/Button/Button.stories.tsx | 50 ++++++------------- 1 file changed, 14 insertions(+), 36 deletions(-) diff --git a/packages/fuselage/src/components/Button/Button.stories.tsx b/packages/fuselage/src/components/Button/Button.stories.tsx index 2a523ba594..8e79ad18a3 100644 --- a/packages/fuselage/src/components/Button/Button.stories.tsx +++ b/packages/fuselage/src/components/Button/Button.stories.tsx @@ -11,7 +11,7 @@ import { import type { ComponentStory, ComponentMeta } from '@storybook/react'; import React from 'react'; -import { Button, ButtonGroup, Icon, IconButton, Margins } from '../..'; +import { Button, ButtonGroup, IconButton, Margins } from '../..'; import { PropsVariationSection } from '../../../.storybook/helpers'; export default { @@ -40,12 +40,6 @@ export const Default: ComponentStory = () => ( ); -export const Square: ComponentStory = () => ( - -); - export const Variants: ComponentStory = () => ( @@ -74,27 +68,11 @@ export const Variants: ComponentStory = () => ( ); export const Sizes: ComponentStory = () => ( - <> - - - - - - - - - - - - + + + + + ); export const AsLink: ComponentStory = () => ( @@ -116,10 +94,6 @@ export const States = () => ( disabled: { disabled: true }, }} yAxis={{ - 'square + icon': { - square: true, - children: , - }, 'icon + text': { children: 'Button', icon: 'baloon-text', @@ -178,10 +152,6 @@ export const States = () => ( disabled: { disabled: true }, }} yAxis={{ - 'square + icon': { - square: true, - children: , - }, 'icon + text': { children: 'Button', icon: 'baloon-text', @@ -232,3 +202,11 @@ export const States = () => ( export const AsIconButton: ComponentStory = (args) => ( ); + +AsIconButton.parameters = { + docs: { + description: { + story: 'See full documentation on Inputs/IconButton.', + }, + }, +};