hotfix: add initial value in input docz

This commit is contained in:
George Lima 2018-12-06 17:49:27 -03:00
parent 52b0addaa2
commit 253aa78f0c
1 changed files with 4 additions and 2 deletions

View File

@ -14,11 +14,13 @@ import { DoczWrapper } from '../theme.js'
## Text Input
<Playground>
<DoczWrapper>{() => <InputComponent inputType="input" value="" onChange={console.log} />}</DoczWrapper>
<DoczWrapper>{() => <InputComponent inputType="input" value="Hello World!" onChange={console.log} />}</DoczWrapper>
</Playground>
## Textarea
<Playground>
<DoczWrapper>{() => <InputComponent inputType="textarea" value="" onChange={console.log} rows={10} />}</DoczWrapper>
<DoczWrapper>
{() => <InputComponent inputType="textarea" value="I'm ZCash Electron Wallet" onChange={console.log} rows={10} />}
</DoczWrapper>
</Playground>