Update Textarea.md

This commit is contained in:
Angelos Chalaris
2018-12-10 10:38:54 +02:00
committed by GitHub
parent 9aa3b89a66
commit 554eb28d66

View File

@ -22,7 +22,7 @@ function TextArea ({ callback, cols = 20, rows = 2, disabled = false, readOnly =
```jsx
ReactDOM.render(
<TextArea type='text' placeholder='Insert some text here...' callback={(val) => console.log(val)}/>,
<TextArea placeholder='Insert some text here...' callback={(val) => console.log(val)}/>,
document.getElementById('root')
);
```