UNPKG

@useloops/design-system

Version:

The official React based Loops design system

21 lines (18 loc) 514 B
import { FunctionComponent } from 'react'; import { SelectProps } from '../Select/types.js'; interface Option { label: string; value: string; } interface RankItemProps { label: string; onChange: (options: Option[]) => void; selections: SelectProps['selections']; disabled?: boolean; fullWidth?: boolean; options: Option[]; sizing?: 'sm' | 'lg'; } declare const RankItem: FunctionComponent<RankItemProps>; export { RankItem as default }; export type { Option, RankItemProps };