You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/Common/Input/stories.tsx

35 lines
593 B

import React, { Fragment } from 'react'
import { Input } from 'features/Common'
export default {
component: Input,
title: 'Input',
}
export const Empty = () => (
<Input
id='email'
type='email'
label='Email'
/>
)
export const EmailPassword = () => (
<Fragment>
<Input
id='email'
type='email'
label='Email'
labelWidth={72}
defaultValue='someveeeeeeeeerylooooooooong@email.com'
/>
<Input
id='password'
type='password'
label='Password'
labelWidth={72}
defaultValue='abcdefgh'
/>
</Fragment>
)