Salman Zare
2018-02-06 4eb1d6d270c2d001628df3321939737fe67eb4d0
Update README.md
1 files modified
2 ■■■ changed files
README.md 2 ●●● patch | view | raw | blame | history
README.md
@@ -87,7 +87,7 @@
It is possible to customize the way that the input is displayed. The simplest is to supply `inputProps` which get assigned to the default `<input />` element within the component.
```js
<DateTime inputProps={{ placeholder: 'N/A', disabled: true }}>
<Datetime inputProps={{ placeholder: 'N/A', disabled: true }}>
```
Alternatively, if you need to render different content than an `<input />` element, you may supply a `renderInput` function which is called instead.