Skip to content

Commit a344ece

Browse files
Document edited.
1 parent 5772fff commit a344ece

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ import { Input } from 'react-chat-elements'
178178

179179
// clear text eg:
180180
<Input
181-
ref='input'
181+
ref='input'
182182
placeholder="Type here..."/>
183183

184184
this.refs.input.clear();
@@ -199,6 +199,7 @@ this.refs.input.clear();
199199
| inputStyle | none | object | inputStyle object |
200200
| leftButtons | none | object(component) | left buttons component |
201201
| rightButtons | none | object(component) | right buttons component |
202+
| inputRef | none | ref(component) | input or textarea ref |
202203

203204

204205
## Button Component

0 commit comments

Comments
 (0)