react-mutation-mapper
Version:
Generic Mutation Mapper
11 lines (10 loc) • 472 B
TypeScript
import { DataFilter } from '../model/DataFilter';
export declare function handleOptionSelect(selectedValues: Array<{
value: string;
}>, allValues: string[], onSelect?: (selectedOptionIds: string[], allValuesSelected?: boolean) => void): void;
export declare function getAllOptionValues(options?: {
value: string;
}[]): string[];
export declare function getSelectedOptionValues(allValues: string[], filter?: DataFilter<string>): {
value: string;
}[];