Skip to content

Commit

Permalink
fix: allow step prop to be null for typescript (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
shangyilim authored Oct 2, 2020
1 parent 2a16c10 commit 38e22f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface SliderProps extends GenericSliderProps {
defaultValue?: number;
min?: number;
max?: number;
step?: number;
step?: number | null;

This comment has been minimized.

Copy link
@uwolfer

uwolfer Oct 7, 2020

Contributor

I think you should apply the same change also to GenericSliderProps.

prefixCls?: string;
onChange?: (value: number) => void;
onBeforeChange?: (value: number) => void;
Expand Down

1 comment on commit 38e22f1

@vercel
Copy link

@vercel vercel bot commented on 38e22f1 Oct 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.