aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/button/button.stories.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-05-30 05:33:29 +0800
committerAlexander Tseung <alextsg@users.noreply.github.com>2018-06-01 01:37:52 +0800
commitf4d833cb09758beb62a65ad4011d16bdb81b33ff (patch)
tree6a191c3de37c1918a5dda48d5ab084624a9a919f /ui/app/components/button/button.stories.js
parent39d22a4ddb4ba0f4ad456009c86486a433c6724e (diff)
downloadtangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.gz
tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.zst
tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.zip
Change btn-secondary styles to btn-default. Make btn-secondary red warning style buttons
Diffstat (limited to 'ui/app/components/button/button.stories.js')
-rw-r--r--ui/app/components/button/button.stories.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/ui/app/components/button/button.stories.js b/ui/app/components/button/button.stories.js
index d1e14e869..dec084a25 100644
--- a/ui/app/components/button/button.stories.js
+++ b/ui/app/components/button/button.stories.js
@@ -13,13 +13,21 @@ storiesOf('Button', module)
{text('text', 'Click me')}
</Button>
)
- .add('secondary', () => (
+ .add('secondary', () =>
<Button
onClick={action('clicked')}
type="secondary"
>
{text('text', 'Click me')}
</Button>
+ )
+ .add('default', () => (
+ <Button
+ onClick={action('clicked')}
+ type="default"
+ >
+ {text('text', 'Click me')}
+ </Button>
))
.add('large primary', () => (
<Button
@@ -39,3 +47,12 @@ storiesOf('Button', module)
{text('text', 'Click me')}
</Button>
))
+ .add('large default', () => (
+ <Button
+ onClick={action('clicked')}
+ type="default"
+ large
+ >
+ {text('text', 'Click me')}
+ </Button>
+ ))