aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/text-field/text-field.stories.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2018-05-29 22:35:18 +0800
committerGitHub <noreply@github.com>2018-05-29 22:35:18 +0800
commitd1f5d8ccc663bdc379864e155f12f580af127e8c (patch)
treee6cda26b0f12c3b8139b55440d40e1ce136e8996 /ui/app/components/text-field/text-field.stories.js
parentc665fe191de937170c181746b08efaac1eefaf88 (diff)
downloadtangerine-wallet-browser-d1f5d8ccc663bdc379864e155f12f580af127e8c.tar.gz
tangerine-wallet-browser-d1f5d8ccc663bdc379864e155f12f580af127e8c.tar.zst
tangerine-wallet-browser-d1f5d8ccc663bdc379864e155f12f580af127e8c.zip
Fix text field labels of first time flow. Add text fields to storybook (#4389)
Diffstat (limited to 'ui/app/components/text-field/text-field.stories.js')
-rw-r--r--ui/app/components/text-field/text-field.stories.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/app/components/text-field/text-field.stories.js b/ui/app/components/text-field/text-field.stories.js
index ee3e5faaf..c00873b8a 100644
--- a/ui/app/components/text-field/text-field.stories.js
+++ b/ui/app/components/text-field/text-field.stories.js
@@ -22,3 +22,32 @@ storiesOf('TextField', module)
error="Invalid value"
/>
)
+ .add('Mascara text', () =>
+ <TextField
+ label="Text"
+ type="text"
+ largeLabel
+ />
+ )
+ .add('Material text', () =>
+ <TextField
+ label="Text"
+ type="text"
+ material
+ />
+ )
+ .add('Material password', () =>
+ <TextField
+ label="Password"
+ type="password"
+ material
+ />
+ )
+ .add('Material error', () =>
+ <TextField
+ type="text"
+ label="Name"
+ error="Invalid value"
+ material
+ />
+ )