UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

19 lines (16 loc) 928 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsForTranslation } from '../../hooks/useTranslation.js'; import { MultiSelectProps } from '../user-input/MultiSelect.js'; import { PropertyBaseProps } from './PropertyBase.js'; import '../../hooks/useLanguage.js'; import 'react'; import '../user-input/Label.js'; 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 };