UNPKG

997 BTypeScriptView Raw
1import * as React from 'react';
2import { storiesOf } from '@storybook/react';
3import { Button } from '../src';
4
5storiesOf('Button', module)
6 .add('with text', () => (
7 <Button isType='confirm' type='button'>Botão 1</Button>
8 ))
9 .add('with loading', () => (
10 <Button isType='confirm' loading type='button'>Botão 1</Button>
11 ))
12 .add('with isType forward', () => (
13 <Button isType='forward' type='button'>Botão 1</Button>
14 ))
15 .add('with isType backward', () => (
16 <Button isType='backward' type='button'>Botão backward</Button>
17 ))
18 .add('with isType readmore', () => (
19 <Button isType='readmore' type='button'>Botão leia mais</Button>
20 ))
21 .add('with isType confirm', () => (
22 <Button isType='confirm' type='button'>Botão confirmar</Button>
23 ))
24 .add('with isType outline', () => (
25 <Button isType='outline' type='button'>Botão outline</Button>
26 ))
27 .add('with isType blank', () => (
28 <Button isType='blank' type='button'>Botão blank</Button>
29 ));
\No newline at end of file