@ray-js/smart-ui
Version:
轻量、可靠的智能小程序 UI 组件库
18 lines (17 loc) • 919 B
TypeScript
import { IProps } from '@ray-js/components-ty-slider/lib/props';
import { RangeSliderProps } from './RangeSlider';
declare function Slider(props: IProps): import("react/jsx-runtime").JSX.Element;
declare namespace Slider {
var RangeSlider: (props: Omit<RangeSliderProps, "bar-height" | "active-color" | "inactive-color" | "bind:drag" | "bind:change" | "bind:drag-start" | "bind:drag-end"> & {
onChange?: (args: Omit<import("..").SmartEvent<number>, "detail"> & {
detail: number[];
}) => void;
onDragEnd?: import("..").SmartEventHandler<unknown>;
onDragStart?: import("..").SmartEventHandler<unknown>;
onDrag?: import("..").SmartEventHandler<import("./PropTypes").SmartSliderDragEventDetail>;
barHeight?: string | number;
activeColor?: string;
inActiveColor?: string;
}) => import("react/jsx-runtime").JSX.Element;
}
export { Slider };