Skip to content

Commit

Permalink
rm outlineButton from storybook (#3883)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann authored Nov 1, 2023
1 parent aa3fde1 commit 33d302a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Playground.argTypes = {
control: {
type: 'radio',
},
options: ['default', 'primary', 'danger', 'invisible', 'outline'],
options: ['default', 'primary', 'danger', 'invisible'],
},
alignContent: {
control: {
Expand Down
14 changes: 1 addition & 13 deletions src/stories/deprecated/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import React from 'react'
import {Meta} from '@storybook/react'

import {
Button,
ButtonClose,
ButtonDanger,
ButtonInvisible,
ButtonOutline,
ButtonPrimary,
ButtonTableList,
} from '../../deprecated'
import {Button, ButtonClose, ButtonDanger, ButtonInvisible, ButtonPrimary, ButtonTableList} from '../../deprecated'
import {ButtonStyleProps} from 'styled-system'
import {ButtonBaseProps} from '../../deprecated/Button/ButtonBase'
type StrictButtonStyleProps = ButtonStyleProps & {variant: ButtonBaseProps['variant']}
Expand Down Expand Up @@ -49,10 +41,6 @@ defaultButton.args = {variant: 'medium'}
export const dangerButton = (args: StrictButtonStyleProps) => <ButtonDanger {...args}>Danger Button</ButtonDanger>
dangerButton.args = {variant: 'medium'}

// eslint-disable-next-line storybook/prefer-pascal-case
export const outlineButton = (args: StrictButtonStyleProps) => <ButtonOutline {...args}>Outline Button</ButtonOutline>
outlineButton.args = {variant: 'medium'}

// eslint-disable-next-line storybook/prefer-pascal-case
export const primaryButton = (args: StrictButtonStyleProps) => <ButtonPrimary {...args}>Primary Button</ButtonPrimary>
primaryButton.args = {variant: 'medium'}
Expand Down

0 comments on commit 33d302a

Please sign in to comment.