amis-rpc-design/node_modules/rc-slider/es/Marks/index.d.ts
2023-10-07 19:42:30 +08:00

15 lines
388 B
TypeScript

import * as React from 'react';
export interface MarkObj {
style?: React.CSSProperties;
label?: React.ReactNode;
}
export interface InternalMarkObj extends MarkObj {
value: number;
}
export interface MarksProps {
prefixCls: string;
marks?: InternalMarkObj[];
onClick: (value: number) => void;
}
export default function Marks(props: MarksProps): React.JSX.Element;