@dock365/reform-fabric-fields
Version:
fabric fields reform
18 lines (17 loc) • 545 B
TypeScript
import { IColors } from "../IOptionsPickerProps";
export interface IOptionsPickerOption {
id?: number;
title?: string;
color?: string;
sortingOrder?: number;
protected?: boolean;
}
export interface IOptionsPickerMenuProps {
closeCallback?: () => void;
options: IOptionsPickerOption[];
activeOptionId?: number;
editable?: boolean;
onSelect?: (option: IOptionsPickerOption) => void;
onSaveChange?: (options: IOptionsPickerOption[], deletedIds: number[]) => void;
colors: IColors;
}