@julo-ui/sliders
Version:
A React Slider component that implements input[type='range']
13 lines (10 loc) • 363 B
TypeScript
import { HTMLJuloProps, DOMAttributes } from '@julo-ui/system';
interface RangeSliderThumbProps extends HTMLJuloProps<'div'> {
index: number;
/**
* Additional props to be forwarded to the `input` element
*/
inputProps?: DOMAttributes<HTMLInputElement>;
inputRef?: React.RefObject<HTMLInputElement>;
}
export { RangeSliderThumbProps };