X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=0698d7d407dc50b4620d5604a73e446d4fba2c52;hb=1c72daf036bee06cde97639ac80b741c3ed38fa8;hp=1c44e76c63df8dddb380b15aecebf5862be07f86;hpb=16a18e356599ed2b9289314614739802ea5b5191;p=github%2Ffretlink%2Ftime-picker.git diff --git a/README.md b/README.md index 1c44e76..0698d7d 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ API | defaultOpenValue | moment | moment() | default open panel value, used to set utcOffset,locale if value/defaultValue absent | | value | moment | null | current value | | placeholder | String | '' | time input's placeholder | +| className | String | '' | time picker className | +| popupClassName | String | '' | time panel className | | showHour | Boolean | true | whether show hour | | | showMinute | Boolean | true | whether show minute | | showSecond | Boolean | true | whether show second | @@ -75,6 +77,7 @@ API | name | String | - | sets the name of the generated input | | onOpen | Function({ open }) | | when TimePicker panel is opened | | onClose | Function({ open }) | | when TimePicker panel is opened | +| focusOnOpen | Boolean | false | automatically focus the input when the picker opens | ## Test Case