@useloops/design-system
Version:
The official React based Loops design system
20 lines (17 loc) • 489 B
TypeScript
import { FunctionComponent } from 'react';
import { SelectProps } from '../Select/Select.js';
interface Option {
label: string;
value: string;
}
interface RankItemProps {
label: string;
onChange: (options: Option[]) => void;
selections: SelectProps['selections'];
disabled?: boolean;
fullWidth?: boolean;
options: Option[];
}
declare const RankItem: FunctionComponent<RankItemProps>;
export { RankItem as default };
export type { Option, RankItemProps };