mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-07 01:02:36 +00:00
chore: update prettier tab width for consistency (#175)
This commit is contained in:
parent
a931f8c69c
commit
f24d2fcc99
247 changed files with 7224 additions and 7375 deletions
|
@ -4,33 +4,33 @@ import { FiKey } from 'react-icons/fi';
|
|||
import { TextInput, TextInputWithIcon } from './TextInput';
|
||||
|
||||
export default {
|
||||
title: 'Atoms/Text Input',
|
||||
argTypes: {
|
||||
placeholder: { control: 'text' },
|
||||
},
|
||||
args: {
|
||||
placeholder: 'Fill me in!',
|
||||
},
|
||||
title: 'Atoms/Text Input',
|
||||
argTypes: {
|
||||
placeholder: { control: 'text' },
|
||||
},
|
||||
args: {
|
||||
placeholder: 'Fill me in!',
|
||||
},
|
||||
};
|
||||
|
||||
export const Common = (args) => (
|
||||
<div>
|
||||
<SmallTitle>TextInput</SmallTitle>
|
||||
<div>
|
||||
<SmallTitle>TextInput</SmallTitle>
|
||||
<div>
|
||||
<TextInput {...args} />
|
||||
</div>
|
||||
<div>
|
||||
<TextInput {...args} disabled />
|
||||
</div>
|
||||
<SmallTitle>TextInputWithIcon</SmallTitle>
|
||||
<div>
|
||||
<TextInputWithIcon icon={<FiKey />} {...args} />
|
||||
</div>
|
||||
<div>
|
||||
<TextInputWithIcon icon={<FiKey />} {...args} disabled />
|
||||
</div>
|
||||
<div>
|
||||
<TextInputWithIcon icon={<FiKey />} {...args} type="password" />
|
||||
</div>
|
||||
<TextInput {...args} />
|
||||
</div>
|
||||
<div>
|
||||
<TextInput {...args} disabled />
|
||||
</div>
|
||||
<SmallTitle>TextInputWithIcon</SmallTitle>
|
||||
<div>
|
||||
<TextInputWithIcon icon={<FiKey />} {...args} />
|
||||
</div>
|
||||
<div>
|
||||
<TextInputWithIcon icon={<FiKey />} {...args} disabled />
|
||||
</div>
|
||||
<div>
|
||||
<TextInputWithIcon icon={<FiKey />} {...args} type="password" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue