UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

19 lines (16 loc) 933 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsForTranslation } from '../../hooks/useTranslation.mjs'; import { MultiSelectProps } from '../user-input/MultiSelect.mjs'; import { PropertyBaseProps } from './PropertyBase.mjs'; import '../../hooks/useLanguage.mjs'; import 'react'; import '../user-input/Label.mjs'; type MultiSelectPropertyTranslation = { select: string; }; type MultiSelectPropertyProps<T> = Omit<PropertyBaseProps & MultiSelectProps<T>, 'icon' | 'input' | 'hasValue' | 'className' | 'disabled' | 'label' | 'triggerClassName'>; /** * An Input for MultiSelect properties */ declare const MultiSelectProperty: <T>({ overwriteTranslation, options, name, readOnly, softRequired, onRemove, ...multiSelectProps }: PropsForTranslation<MultiSelectPropertyTranslation, MultiSelectPropertyProps<T>>) => react_jsx_runtime.JSX.Element; export { MultiSelectProperty, type MultiSelectPropertyProps };