We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79ae800 commit c07e3f0Copy full SHA for c07e3f0
components/slider/index.tsx
@@ -55,7 +55,7 @@ export const sliderProps = () => ({
55
disabled: { type: Boolean, default: undefined },
56
vertical: { type: Boolean, default: undefined },
57
tipFormatter: {
58
- type: Function as PropType<(value?: number) => any>,
+ type: [Function, Object] as PropType<((value?: number) => any) | null>,
59
default: defaultTipFormatter,
60
},
61
tooltipVisible: { type: Boolean, default: undefined },
0 commit comments