-
-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update rc-picker document #5
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/react-component/picker/5ktqes9xy |
README.md
Outdated
| className | string | '' | additional class name of footer | | ||
| style | React.CSSProperties | | style properties of footer | | ||
| LinkComponent | React.ReactType | 'a' | the link element to render item | | ||
### rc-picker props |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> ### Picker
README.md
Outdated
| onFocus | (evnet:React.FocusEventHandler<HTMLInputElement>) => void | | called like input's on focus | | ||
| onBlur | (evnet:React.FocusEventHandler<HTMLInputElement>) => void | | called like input's on blur | | ||
|
||
### rc-picker/lib/PickerPanel props |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> ### PickerPanel
README.md
Outdated
| onPanelChange | Function(value: moment, mode)| | callback when picker panel mode is changed | | ||
| onMouseDown | (evnet:React.MouseEventHandler<HTMLInputElement>) => void | | callback when executed onMouseDown evnent | | ||
|
||
### rc-picker/lib/RangePicker props |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=> ### RangePicker
README.md
Outdated
| separator | String | '~' | set separator between inputs | | ||
| picker | time \| date \| week \| month \| year | | control which kind of panel | | ||
| placeholder | [String, String] | | placeholder of date input | | ||
| showTime | Boolean \| Object | [showTime options](#showTime-options) | to provide an additional time selection | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
更新了一下,RangePicker 的 showTime 的 defaultValue
是一个数组
@zombieJ review