minishouyin/node_modules/rc-segmented/lib/MotionThumb.d.ts

15 lines
505 B
TypeScript
Raw Permalink Normal View History

2025-11-12 11:35:57 +08:00
import * as React from 'react';
import type { SegmentedValue } from '.';
export interface MotionThumbInterface {
containerRef: React.RefObject<HTMLDivElement>;
value: SegmentedValue;
getValueIndex: (value: SegmentedValue) => number;
prefixCls: string;
motionName: string;
onMotionStart: VoidFunction;
onMotionEnd: VoidFunction;
direction?: 'ltr' | 'rtl';
vertical?: boolean;
}
export default function MotionThumb(props: MotionThumbInterface): React.JSX.Element | null;