Skip to content

Commit 21ce782

Browse files
committed
Add email field to story
1 parent a9417aa commit 21ce782

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/dataviews/src/components/dataform/stories/index.story.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ const fields = [
9595
{ value: 'private', label: 'Private' },
9696
],
9797
},
98+
{
99+
id: 'email',
100+
label: 'Email',
101+
type: 'email' as const,
102+
},
98103
{
99104
id: 'password',
100105
label: 'Password',
@@ -123,6 +128,7 @@ export const Default = ( {
123128
author: 1,
124129
status: 'draft',
125130
reviewer: 'fulano',
131+
126132
date: '2021-01-01T12:00:00',
127133
birthdate: '1950-02-23T12:00:00',
128134
sticky: false,
@@ -139,6 +145,7 @@ export const Default = ( {
139145
'author',
140146
'status',
141147
'reviewer',
148+
'email',
142149
'password',
143150
'date',
144151
'birthdate',

0 commit comments

Comments
 (0)