@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
14 lines (13 loc) • 506 B
TypeScript
import React from 'react';
import { BoxOwnProps } from './Box';
import { Assign, ForwardRef } from './types';
export interface SliderProps extends Assign<React.ComponentPropsWithRef<'input'>, BoxOwnProps> {
}
/**
* Range input element
*
* Slider variants can be defined in the `theme.forms` object.
* The Slider component uses `theme.forms.slider` as its default variant style.
* @see https://theme-ui.com/components/slider/
*/
export declare const Slider: ForwardRef<HTMLInputElement, SliderProps>;