MCPcopy
hub / github.com/react-component/slider / TrackProps

Interface TrackProps

src/Tracks/Track.tsx:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { getOffset } from '../util';
6
7export interface TrackProps {
8 prefixCls: string;
9 style?: React.CSSProperties;
10 /** Replace with origin prefix concat className */
11 replaceCls?: string;
12 start: number;
13 end: number;
14 index: number;
15 onStartMove?: OnStartMove;
16}
17
18const Track: React.FC<TrackProps> = (props) => {
19 const { prefixCls, style, start, end, index, onStartMove, replaceCls } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected