From 8745bc8eb17c73176ab3b9335f422174893d7f89 Mon Sep 17 00:00:00 2001 From: Rob Levin Date: Wed, 16 Sep 2020 23:25:31 -0700 Subject: [PATCH] Button stories refactored --- .../src/stories/Button.stories.js | 186 +++++------------- 1 file changed, 51 insertions(+), 135 deletions(-) diff --git a/agnosticui-react/src/stories/Button.stories.js b/agnosticui-react/src/stories/Button.stories.js index 8b17a2117..af3e35d53 100644 --- a/agnosticui-react/src/stories/Button.stories.js +++ b/agnosticui-react/src/stories/Button.stories.js @@ -1,37 +1,10 @@ import React from 'react'; - import Button from './Button'; - export default { title: 'Button', component: Button, - argTypes: { - label: { control: 'text' }, - mode: { control: 'text' }, - isBordered: { control: 'boolean' }, - isBlock: { control: 'boolean' }, - isDisabled: { control: 'boolean' }, - isRaised: { control: 'boolean' }, - isRounded: { control: 'boolean' }, - isSkinned: { control: 'boolean' }, - size: { - control: { type: 'select', options: ['small', 'large'] }, - }, - onClick: { action: 'onClick' }, - }, }; -export const DisabledAll = () => ( - <> -