@athosws/react-components
Version:
This is a set of useful ReactJS components developed by Athos.\n Email:ladiesman217.as@gmail.com
31 lines (25 loc) • 768 B
text/typescript
import type { PopUpPosition } from "../../hooks/private/usePopUp";
export interface ATHOSRangeProps {
justValues?: boolean;
thin?: boolean;
label?: string;
disabled?: boolean;
error?: string;
type?: "date" | "value";
values?: { min: string; max: string };
position?: PopUpPosition;
style?: React.CSSProperties;
className?: string;
labelClassName?: string;
wrapperClassName?: string;
optionLabelClassName?: string;
selectedLabelClassName?: string;
selectedLabelStyle?: React.CSSProperties;
labelsStyle?: React.CSSProperties;
spacing?: number;
matchLabelWidth?: boolean;
onToggleOpen?: (isOpen: boolean) => void;
inline?: boolean;
containerClassName?: string;
onChange?: (values: { min: string; max: string }) => void;
}