aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/text-field/text-field.stories.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-01 01:58:03 +0800
committerDan <danjm.com@gmail.com>2018-06-01 01:58:03 +0800
commit5091b03e4b2499697cda376a44405139827068cd (patch)
treeda91af2a0ce21871c15611f768f09757ef2c8533 /ui/app/components/text-field/text-field.stories.js
parent6d8344d0d0af3734255a0e9e79d857d84b5fe2aa (diff)
parentcc73d869fed79c63261821fb7ad8f1e5180ffca2 (diff)
downloadtangerine-wallet-browser-5091b03e4b2499697cda376a44405139827068cd.tar.gz
tangerine-wallet-browser-5091b03e4b2499697cda376a44405139827068cd.tar.zst
tangerine-wallet-browser-5091b03e4b2499697cda376a44405139827068cd.zip
Merge branch 'develop' into i3725-refactor-send-component-
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
+ />
+ )