multi-source-select
Version:
Multi-source select control
28 lines (27 loc) • 944 B
TypeScript
import * as React from 'react';
import { Matcher, MutliSelectStyles } from '../../types';
import Nemonic from '../../../component/types/Nemonic';
interface MatcherViewProps {
matcher: Matcher | Nemonic;
onMatcherChanged?: (matcher: Matcher) => void;
onValidate?: (matcher: Matcher) => string | null;
onDelete: () => void;
onSelect?: () => void;
onCancel?: () => void;
onSwapMatcher?: (matcher: Matcher, swapMatcher: Matcher) => void;
onEditPrevious?: () => void;
onEditNext?: () => void;
onChanging?: () => void;
onInsertMatcher?: (matcher: Matcher) => void;
selected?: boolean;
first?: boolean;
hideOperators?: boolean;
showWarning?: boolean;
showCategory?: boolean;
categoryPosition?: 'top' | 'left';
hideToolTip?: boolean;
allowFreeText?: boolean;
styles?: MutliSelectStyles;
}
declare const MatcherView: React.FC<MatcherViewProps>;
export default MatcherView;