]> git.immae.eu Git - github/fretlink/time-picker.git/blobdiff - README.md
ru locale
[github/fretlink/time-picker.git] / README.md
index 98f913a14540dd0ed5c24a14ec96972ad7082eed..483ee2b737ff16d2189a6771b7c93c17cca2ecd0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -56,14 +56,13 @@ API
 | open                    | Boolean                           | false                                         | current open state of picker. controlled prop                                              |
 | defaultValue            | GregorianCalendar                 | null                                          | default initial value                                                                      |
 | value                   | GregorianCalendar                 | null                                          | current value                                                                              |
-| gregorianCalendarLocale | GregorianCalendar  locale object  | null                                          | if value and defaultValue not set, you should set this to your locale                      |
 | placeholder             | String                            | ''                                            | time input's placeholder                                                                   |
 | showHour                | Boolean                           | whether show hour                             |                                                                                            |
 | showSecond              | Boolean                           | whether show second                           |                                                                                            |
 | formatter               | String|GregorianCalendarFormatter |                                               |                                                                                            |
-| disabledHours           | Array<Number>                     | disabled hour options                         |                                                                                            |
-| disabledMinutes         | Array<Number>                     | disabled minute options                       |                                                                                            |
-| disabledSeconds         | Array<Number>                     | disabled second options                       |                                                                                            |
+| disabledHours           | Function                          | disabled hour options                         |                                                                                            |
+| disabledMinutes         | Function                          | disabled minute options                       |                                                                                            |
+| disabledSeconds         | Function                          | disabled second options                       |                                                                                            |
 | hideDisabledOptions     | Boolean                           | whether hide disabled options                 |                                                                                            |
 | onChange                | Function                          | null                                          | called when select a different value                                                       |
 | placement               | String                            | bottomLeft                                    | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] |