import React from 'react'; import { IFieldComponentProps } from '../../types'; import { MultiSelectProps } from '@antlerengineering/multiselect'; import { FilledTextFieldProps } from '@material-ui/core'; export interface ISingleSelectComponentProps extends IFieldComponentProps, Omit, Partial, 'value' | 'onChange' | 'options' | 'label'>> { options: (string | { value: string; label: React.ReactNode; })[]; } export default function SingleSelectComponent({ field: { onChange, onBlur, value, ref }, fieldState, formState, name, useFormMethods, errorMessage, assistiveText, options, ...props }: ISingleSelectComponentProps): JSX.Element;