Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Dec 28, 2023
1 parent 91ebade commit 317c3d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/date-picker/DateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const DateRangePicker = forwardRef<HTMLDivElement, DateRangePickerProps>((origin
presetsPlacement,
panelPreselection,
onPick,
cancelRangeSelectLimit,
} = props;

const {
Expand Down Expand Up @@ -354,7 +355,7 @@ const DateRangePicker = forwardRef<HTMLDivElement, DateRangePickerProps>((origin
presetsPlacement,
activeIndex,
popupVisible,
cancelRangeSelectLimit: props.cancelRangeSelectLimit,
cancelRangeSelectLimit,
onCellClick,
onCellMouseEnter,
onCellMouseLeave,
Expand Down
2 changes: 1 addition & 1 deletion src/date-picker/panel/RangePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface RangePanelProps extends TdDateRangePickerProps, StyledProps {
year?: number[];
month?: number[];
time?: string[];
cancelRangeSelectLimit: boolean;
cancelRangeSelectLimit?: boolean;
onClick?: (context: { e: React.MouseEvent<HTMLDivElement> }) => void;
onCellClick?: (date: Date, context: { e: React.MouseEvent<HTMLDivElement>; partial: 'start' | 'end' }) => void;
onCellMouseEnter?: (date: Date, context: { partial: 'start' | 'end' }) => void;
Expand Down

0 comments on commit 317c3d9

Please sign in to comment.