@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
13 lines (12 loc) • 676 B
TypeScript
import React from 'react';
import { AutocompleteProps } from '@mui/material/Autocomplete';
import { InputProps } from '@mui/material/Input';
import { IEmailInput } from '../EmailInput/EmailInput';
import { IShareUser } from '../../ShareDialog/model';
export type IEmailAutocomplete = Omit<AutocompleteProps<any, any, any, any>, 'options' | 'renderInput'> & IEmailInput & {
placeholder?: string;
availableUsers?: ReadonlyArray<IShareUser>;
endAdornment?: InputProps['endAdornment'];
onSearch?: (keyword: string) => void;
};
export declare const EmailAutoComplete: React.ForwardRefExoticComponent<Omit<IEmailAutocomplete, "ref"> & React.RefAttributes<unknown>>;