@try-at-software/input-elements
Version:
A package providing different input elements that are extensible and easily configurable for your custom needs.
9 lines (8 loc) • 468 B
TypeScript
import { IDynamicListMenuConfiguration } from '../IDynamicListMenuConfiguration';
import { IDynamicListMenuOption } from './IDynamicListMenuOption';
import { InternalDynamicInput } from '../IDynamicListInputElement';
export interface IDynamicListMenuProps<TValue> extends IDynamicListMenuConfiguration {
options: IDynamicListMenuOption<TValue>[];
onAddClicked?: (createdInput: InternalDynamicInput<TValue>) => void;
onRemoveClicked?: () => void;
}