import React from 'react'; import styled from 'styled-components'; import { storiesOf } from '@storybook/react'; import { withKnobs, text, boolean, select, } from '@storybook/addon-knobs/react'; import { Button, ButtonGroup, FlatButton, SubtleButton, CircleButton, LightButton, LinkButton, } from '.'; import { Star } from '../../icon/src'; const StyledButton = styled(Button)` background: transparent; padding: 20px; `; storiesOf('Packages | Button', module) .addDecorator(withKnobs) .add('Default', () => ( )) .add('Flat', () => ( {text('Label', 'Flat Button')} )) .add('Light', () => ( {text('Label', 'Light Button')} )) .add('Disable', () => ( )) .add('Link', () => ( {text('Label', 'Link Button')} )) .add('Subtle', () => ( {text('Label', 'Subtle Button')} )) .add('Circular style', () => ( )) .add('ButtonGroup', () => ( )) .add('extends styles', () => ( StyledButton ));