@useloops/design-system
Version:
The official React based Loops design system
21 lines (18 loc) • 568 B
TypeScript
import { FunctionComponent } from 'react';
import { Option } from '../RankItem/RankItem.js';
import { SortableListProps } from '../SortableList/SortableList.js';
interface RankProps extends Omit<SortableListProps<any>, 'renderItem' | 'items'> {
labelTop: string;
labelBottom: string;
fullWidth?: boolean;
options: (Option & {
id: string;
})[];
internalChange?: () => void;
value?: (Option & {
id: string;
})[];
}
declare const Rank: FunctionComponent<RankProps>;
export { Rank as default };
export type { RankProps };