@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
12 lines (11 loc) • 664 B
TypeScript
import * as React from 'react';
import * as SliderPrimitive from '@radix-ui/react-slider';
import { sliderPropDefs } from './slider.props.js';
import type { ComponentPropsWithout } from '../helpers/index.js';
import type { GetPropDefTypes, MarginProps } from '../props/index.js';
type SliderOwnProps = GetPropDefTypes<typeof sliderPropDefs>;
interface SliderProps extends ComponentPropsWithout<typeof SliderPrimitive.Root, 'asChild' | 'color' | 'children' | 'defaultChecked'>, MarginProps, SliderOwnProps {
}
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
export { Slider };
export type { SliderProps };