diff --git a/components/slider/index.tsx b/components/slider/index.tsx index b1bc32d1e..4d354c7ad 100644 --- a/components/slider/index.tsx +++ b/components/slider/index.tsx @@ -14,7 +14,7 @@ import type { FocusEventHandler } from '../_util/EventInterface'; export type SliderValue = number | [number, number]; -interface SliderMarks { +export interface SliderMarks { [key: number]: | VueNode | { @@ -28,7 +28,7 @@ interface HandleGeneratorInfo { dragging?: boolean; index: number; } -interface SliderRange { +export interface SliderRange { draggableTrack?: boolean; } export type HandleGeneratorFn = (config: {