WIP Input
This commit is contained in:
1 parent
c391c007ff
commit
7617a8b9ee
2 files changed
+45
-16
No files matched your search
@@ -19,12 +19,15 @@ import Input from './';
|
||||
{() => {
|
||||
const [inputValue, setInputValue] = React.useState('');
|
||||
return (
|
||||
<Input
|
||||
label="Label"
|
||||
value={inputValue}
|
||||
placeholder="Type something..."
|
||||
onChange={e => setInputValue(e.target.value)}
|
||||
/>
|
||||
<div className="m-5 bg-black">
|
||||
<Input
|
||||
transparent
|
||||
containerClassName="mb-3"
|
||||
label="Label"
|
||||
placeholder="With Label"
|
||||
/>
|
||||
<Input placeholder="Without label" />
|
||||
</div>
|
||||
);
|
||||
}}
|
||||
</Playground>
|
||||
Reference in new issue
Block a user