Skip to content

Commit

Permalink
fix(DatePicker): props
Browse files Browse the repository at this point in the history
  • Loading branch information
bushuai committed Dec 24, 2020
1 parent 5dee6af commit fee18d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/components/DatePicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ export default class TimePicker extends BasePicker {
footer?: () => React.ReactNode
onValueChange?
*/
console.log('TimePicker props::: ', this.props)
console.log('picked TimePicker props::: ', pick(this.props, ['format', 'isShowCurrent', 'footer', 'onValueChange']))

return (
<TimePanel
{...pick(this.props, ['format', 'isShowCurrent', 'footer', 'onValueChange'])}
{...this.props}
selectableRange={converSelectRange(this.props)}
onSelectRangeChange={this._onSelectionChange}
value={value}
Expand Down

0 comments on commit fee18d4

Please sign in to comment.