UNPKG

@dotconnor/grommet

Version:

focus on the essential experience

31 lines (27 loc) 761 B
import * as React from 'react'; import { Omit, ColorType } from '../../utils'; export interface RangeSelectorProps { color?: ColorType; direction?: 'horizontal' | 'vertical'; invert?: boolean; max?: number; messages?: { lower?: string; upper?: string }; min?: number; onChange?: (...args: any[]) => void; opacity?: 'weak' | 'medium' | 'strong' | string | boolean; round?: 'xsmall' | 'small' | 'medium' | 'large' | 'full' | string; size?: | 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'full' | string; step?: number; values: number[]; } declare const RangeSelector: React.ComponentClass<RangeSelectorProps & Omit<JSX.IntrinsicElements['div'], 'color'>>; export { RangeSelector };