grommet
Version:
focus on the essential experience
21 lines (17 loc) • 672 B
TypeScript
import * as React from "react";
export interface RangeSelectorProps {
color?: string | {dark?: string,light?: string};
direction?: "horizontal" | "vertical";
invert?: boolean;
max?: number;
messages?: {lower?: string,upper?: string};
min?: number;
onChange?: ((...args: any[]) => any);
opacity?: "weak" | "medium" | "strong";
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 & JSX.IntrinsicElements['div']>;
export { RangeSelector };