Skip to content

Commit

Permalink
fix: slider type and tooltip property
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Jan 15, 2024
1 parent fd16319 commit bd4e1a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Slider = React.forwardRef(function Slider(
step = 1,
infoPointCount = 0,
availableValues,
withTooltip = true,
withTooltip = false,
error = false,
disabled = false,
keyboard = true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Slider/sliderTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type RcSliderValueType = number | number[];
export type SliderProps<ValueType = number | [number, number]> = {
value?: ValueType;
defaultValue?: ValueType;
size: SliderSize;
size?: SliderSize;
min?: number;
max?: number;
step?: number;
Expand Down

0 comments on commit bd4e1a0

Please sign in to comment.