]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
remove duplicate clearText and add allowEmpty instead
authorSantan Maddi <saisantan2004@gmail.com>
Tue, 28 Mar 2017 07:46:25 +0000 (15:46 +0800)
committerSantan Maddi <saisantan2004@gmail.com>
Tue, 28 Mar 2017 07:46:25 +0000 (15:46 +0800)
README.md

index fa1933a91f60e941151acfcd19c14ec8a5c4d0ec..1c44e76c63df8dddb380b15aecebf5862be07f86 100644 (file)
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ API
 | prefixCls               | String                            | 'rc-time-picker' | prefixCls of this component |
 | clearText               | String                            | 'clear' | clear tooltip of icon |
 | disabled                | Boolean                           | false   | whether picker is disabled |
-| clearText               | String                            | clear | clear text |
+| allowEmpty              | Boolean                           | true | allow clearing text |
 | open                    | Boolean                           | false | current open state of picker. controlled prop |
 | defaultValue            | moment                            | null | default initial value |
 | defaultOpenValue        | moment                            | moment() | default open panel value, used to set utcOffset,locale if value/defaultValue absent |