From 4eb1d6d270c2d001628df3321939737fe67eb4d0 Mon Sep 17 00:00:00 2001 From: Salman Zare <zare1356@gmail.com> Date: Tue, 06 Feb 2018 07:55:19 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/README.md b/README.md index 2cfb631..b259cab 100644 --- a/README.md +++ b/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. -- Gitblit v1.9.3