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