Skip to content

Commit 4eb1d6d

Browse files
szaresimeg
authored andcommitted
Update README.md
1 parent b7a1c5e commit 4eb1d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ If there are multiple locales loaded, you can use the prop `locale` to define wh
8787
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.
8888

8989
```js
90-
<DateTime inputProps={{ placeholder: 'N/A', disabled: true }}>
90+
<Datetime inputProps={{ placeholder: 'N/A', disabled: true }}>
9191
```
9292

9393
Alternatively, if you need to render different content than an `<input />` element, you may supply a `renderInput` function which is called instead.

0 commit comments

Comments
 (0)