@dock365/reform-fabric-fields
Version:
fabric fields reform
14 lines (13 loc) • 488 B
TypeScript
import { IOptionsPickerOption } from "./OptionsPickerMenu/IOptionsPickerMenuProps";
export interface IColors {
[key: string]: string;
}
export interface IOptionsPickerProps {
options: IOptionsPickerOption[];
activeOption: IOptionsPickerOption | number;
onSelect?: (option: IOptionsPickerOption) => void;
onSaveChange?: (options: IOptionsPickerOption[], deletedIds: number[]) => void;
editable?: boolean;
readOnly?: boolean;
colors: IColors;
}