UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

27 lines 975 B
import { default as React } from 'react'; import { DropdownOption } from '../Field/Dropdown/Regular'; export type TransferListVariant = 'singleSelection' | 'multipleSelection'; export interface TransferListDropdownDataMap { [dropdownValue: string]: { leftItems: string[]; rightItems: string[]; }; } export interface TransferListProps { variant?: TransferListVariant; leftItems?: readonly string[]; rightItems?: readonly string[]; dropdownLabel?: string; dropdownOptions?: DropdownOption[]; dropdownDataMap?: TransferListDropdownDataMap; itemLabelMap?: Record<string, string>; onChange: (leftItems: string[], rightItems: string[], dropdownValue?: string) => void; leftTitle?: string; rightTitle?: string; sacredtheme?: boolean; className?: string; style?: React.CSSProperties; } declare const TransferList: React.FC<TransferListProps>; export default TransferList; //# sourceMappingURL=index.d.ts.map