UNPKG

@useloops/design-system

Version:

The official React based Loops design system

22 lines (19 loc) 594 B
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; })[]; sizing?: 'sm' | 'lg'; } declare const Rank: FunctionComponent<RankProps>; export { Rank as default }; export type { RankProps };