@helpwave/hightide
Version:
helpwave's component and theming library
25 lines (22 loc) • 1.24 kB
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsForTranslation } from '../../localization/useTranslation.mjs';
import { MultiSelectProps } from '../user-action/MultiSelect.mjs';
import { PropertyBaseProps } from './PropertyBase.mjs';
import { FormTranslationType } from '../../localization/defaults/form.mjs';
import '../../localization/util.mjs';
import 'react';
import '../user-action/Label.mjs';
import '../user-action/Select.mjs';
import '../user-action/Menu.mjs';
import '../../util/PropsWithFunctionChildren.mjs';
import '../../hooks/usePopoverPosition.mjs';
import '../../hooks/useSearch.mjs';
type TranslationType = FormTranslationType;
type MultiSelectPropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue' | 'className'> & Omit<MultiSelectProps<string>, 'className' | 'disabled' | 'label'> & {
onAddNew?: (value: string) => void;
};
/**
* An Input for MultiSelect properties
*/
declare const MultiSelectProperty: ({ overwriteTranslation, options, name, readOnly, softRequired, onRemove, onAddNew, ...multiSelectProps }: PropsForTranslation<TranslationType, MultiSelectPropertyProps>) => react_jsx_runtime.JSX.Element;
export { MultiSelectProperty, type MultiSelectPropertyProps };