@accelint/design-toolkit
Version:
An open-source component library to serve as part of the entire ecosystem of UX for Accelint.
23 lines (20 loc) • 722 B
TypeScript
import { SliderProps as SliderProps$1, LabelProps, InputProps, SliderTrackProps, SliderThumbProps } from 'react-aria-components';
type SliderProps = Omit<SliderProps$1, 'children' | 'className'> & {
classNames?: {
slider?: SliderProps$1['className'];
label?: LabelProps['className'];
inputs?: string;
input?: InputProps['className'];
track?: SliderTrackProps['className'];
trackBackground?: string;
trackValue?: string;
thumb?: SliderThumbProps['className'];
minValue?: string;
maxValue?: string;
};
label: string;
layout?: 'grid' | 'stack';
showInput?: boolean;
showLabel?: boolean;
};
export type { SliderProps };