WIP Input

This commit is contained in:
Rodrigo Antinarelli authored and James A. Petts committed 2020-05-15 13:18:34 +02:00
1 parent c391c007ff
commit 7617a8b9ee
2 files changed
+45 -16

No files matched your search

+9 -6
View File
@@ -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>