Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 5086c47

Browse files
committed
Write max button stories
1 parent 0ee1639 commit 5086c47

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stories/component/button-story.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
AddButton,
1919
QrButton,
2020
DownButton,
21+
MaxButton,
2122
} from '../../src/component/button';
2223
import CancelIcon from '../../src/asset/icon/cancel';
2324
import CopyPurpleIcon from '../../src/asset/icon/copy-purple';
@@ -39,6 +40,12 @@ storiesOf('Button', module)
3940
style={{ backgroundColor: color.purple }}
4041
onPress={action('clicked')}
4142
/>
43+
))
44+
.add('Max Button (active)', () => (
45+
<MaxButton active={true} onPress={action('clicked')} />
46+
))
47+
.add('Max Button (inactive)', () => (
48+
<MaxButton active={false} onPress={action('clicked')} />
4249
));
4350

4451
storiesOf('Button', module)

0 commit comments

Comments
 (0)