From b408d80e8ad0885a50568e95fee21bd1955648f9 Mon Sep 17 00:00:00 2001 From: Constantine Golub Date: Thu, 28 Sep 2017 13:24:32 +0300 Subject: [PATCH] change number to object for customStyles in the documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dfef27fc1c..6253b866f7 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ You can check [index.js](https://github.com/xgfe/react-native-datepicker/blob/ma | minDate | - | string | date | Restricts the range of possible date values. | | maxDate | - | string | date | Restricts the range of possible date values. | | duration | 300 | `number` | Specify the animation duration of datepicker.| -| customStyles | - | `number` | The hook of customize datepicker style, same as the native style. `dateTouchBody`, `dateInput`...| +| customStyles | - | `object` | The hook of customize datepicker style, same as the native style. `dateTouchBody`, `dateInput`...| | showIcon | true | `boolean` | Controller whether or not show the icon | | hideText | false | `boolean` | Controller whether or not show the `dateText` | | iconComponent | - | `element` | Set the custom icon |