UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

24 lines 882 B
import React, { FormEvent } from 'react'; import { ITextField, ITextFieldProps } from '@fluentui/react'; import { MentionLookupOptions } from '../MentionPopover'; /** * Props for the TextFieldWithMention component. * * @private */ export interface TextFieldWithMentionProps { textFieldProps: ITextFieldProps; dataUiId?: string; textValue: string; onChange: (event?: FormEvent<HTMLInputElement | HTMLTextAreaElement>, newValue?: string) => void; onKeyDown?: (ev: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void; onEnterKeyDown?: () => void; textFieldRef?: React.RefObject<ITextField>; supportNewline?: boolean; mentionLookupOptions?: MentionLookupOptions; } /** * @private */ export declare const TextFieldWithMention: (props: TextFieldWithMentionProps) => JSX.Element; //# sourceMappingURL=TextFieldWithMention.d.ts.map