@useloops/design-system
Version:
The official React based Loops design system
19 lines (16 loc) • 453 B
TypeScript
import { FunctionComponent } from 'react';
interface LikertOption {
label: string;
value: string;
}
interface LikertProps {
options: LikertOption[];
disabled?: boolean;
onChange: (value: LikertOption['value']) => void;
value: string;
sizing?: 'default' | 'lg';
internalChange?: () => void;
}
declare const Likert: FunctionComponent<LikertProps>;
export { Likert as default };
export type { LikertOption, LikertProps };