@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
22 lines (21 loc) • 493 B
TypeScript
import { FC } from 'react';
import { Props } from './Slider.types';
/**
* A single-thumb slider component for selecting a value.
* Built on Radix UI Slider for accessibility.
*
* @example
* ```tsx
* <Slider
* label="Brightness"
* min={0}
* max={100}
* defaultValue={[75]}
* showValue
* name="brightness"
* />
* ```
*
* @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-slider--docs Storybook}
*/
export declare const Slider: FC<Props>;