@devshack/react-circular-input
Version:
React components for easily composing a circular range input
16 lines (15 loc) • 508 B
TypeScript
import { HTMLProps } from 'react';
import { Weaken } from './utils';
declare type DefaultHTMLProps = HTMLProps<SVGSVGElement>;
declare type Props = Weaken<DefaultHTMLProps, 'onChange'> & {
value: number;
radius?: number;
onChange?: (value: number) => any;
ref?: undefined;
width?: undefined;
height?: undefined;
viewBox?: undefined;
onClick?: undefined;
};
export declare function CircularInput({ value, radius, onChange, children, ...props }: Props): JSX.Element;
export {};