fix: Export the types referenced in the Props of the Slider component for external use. (#6357)

pull/6371/head
Jobin 2023-03-16 08:28:54 +08:00 committed by GitHub
parent 98c361cbad
commit 0a610d818f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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: {