interface MentionProps {
    about?: string;
    accessKey?: string;
    allowClear?: boolean | {
        clearIcon?: ReactNode;
    };
    aria-activedescendant?: string;
    aria-atomic?: Booleanish;
    aria-autocomplete?: "none" | "inline" | "both" | "list";
    aria-braillelabel?: string;
    aria-brailleroledescription?: string;
    aria-busy?: Booleanish;
    aria-checked?: boolean | "true" | "false" | "mixed";
    aria-colcount?: number;
    aria-colindex?: number;
    aria-colindextext?: string;
    aria-colspan?: number;
    aria-controls?: string;
    aria-current?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location";
    aria-describedby?: string;
    aria-description?: string;
    aria-details?: string;
    aria-disabled?: Booleanish;
    aria-dropeffect?: "link" | "copy" | "none" | "move" | "execute" | "popup";
    aria-errormessage?: string;
    aria-expanded?: Booleanish;
    aria-flowto?: string;
    aria-grabbed?: Booleanish;
    aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
    aria-hidden?: Booleanish;
    aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling";
    aria-keyshortcuts?: string;
    aria-label?: string;
    aria-labelledby?: string;
    aria-level?: number;
    aria-live?: "off" | "assertive" | "polite";
    aria-modal?: Booleanish;
    aria-multiline?: Booleanish;
    aria-multiselectable?: Booleanish;
    aria-orientation?: "horizontal" | "vertical";
    aria-owns?: string;
    aria-placeholder?: string;
    aria-posinset?: number;
    aria-pressed?: boolean | "true" | "false" | "mixed";
    aria-readonly?: Booleanish;
    aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
    aria-required?: Booleanish;
    aria-roledescription?: string;
    aria-rowcount?: number;
    aria-rowindex?: number;
    aria-rowindextext?: string;
    aria-rowspan?: number;
    aria-selected?: Booleanish;
    aria-setsize?: number;
    aria-sort?: "none" | "ascending" | "descending" | "other";
    aria-valuemax?: number;
    aria-valuemin?: number;
    aria-valuenow?: number;
    aria-valuetext?: string;
    autoCapitalize?: string;
    autoComplete?: string;
    autoCorrect?: string;
    autoFocus?: boolean;
    autoSave?: string;
    autoSize?: boolean | AutoSizeType;
    children?: ReactNode;
    className?: string;
    classNames?: {
        affixWrapper?: string;
        groupWrapper?: string;
        prefix?: string;
        suffix?: string;
        variant?: string;
        wrapper?: string;
    } & {
        mentions?: string;
    };
    color?: string;
    cols?: number;
    content?: string;
    contentEditable?: "inherit" | Booleanish | "plaintext-only";
    contextMenu?: string;
    count?: CountConfig;
    dangerouslySetInnerHTML?: {
        __html: string | TrustedHTML;
    };
    datatype?: string;
    defaultChecked?: boolean;
    defaultValue?: string;
    dir?: string;
    dirName?: string;
    direction?: Direction;
    disabled?: boolean;
    draggable?: Booleanish;
    dropdownClassName?: string;
    filterOption?: false | ((input, __namedParameters) => boolean);
    form?: string;
    getPopupContainer?: (() => HTMLElement);
    hidden?: boolean;
    id?: string;
    inlist?: any;
    inputMode?: "search" | "text" | "email" | "url" | "none" | "tel" | "numeric" | "decimal";
    is?: string;
    itemID?: string;
    itemProp?: string;
    itemRef?: string;
    itemScope?: boolean;
    itemType?: string;
    lang?: string;
    loading?: boolean;
    maxLength?: number;
    minLength?: number;
    name?: string;
    nonce?: string;
    notFoundContent?: ReactNode;
    onAbort?: ReactEventHandler<HTMLTextAreaElement>;
    onAbortCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onAnimationEnd?: AnimationEventHandler<HTMLTextAreaElement>;
    onAnimationEndCapture?: AnimationEventHandler<HTMLTextAreaElement>;
    onAnimationIteration?: AnimationEventHandler<HTMLTextAreaElement>;
    onAnimationIterationCapture?: AnimationEventHandler<HTMLTextAreaElement>;
    onAnimationStart?: AnimationEventHandler<HTMLTextAreaElement>;
    onAnimationStartCapture?: AnimationEventHandler<HTMLTextAreaElement>;
    onAuxClick?: MouseEventHandler<HTMLTextAreaElement>;
    onAuxClickCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onBeforeInput?: FormEventHandler<HTMLTextAreaElement>;
    onBeforeInputCapture?: FormEventHandler<HTMLTextAreaElement>;
    onBlur?: FocusEventHandler<HTMLTextAreaElement>;
    onBlurCapture?: FocusEventHandler<HTMLTextAreaElement>;
    onCanPlay?: ReactEventHandler<HTMLTextAreaElement>;
    onCanPlayCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onCanPlayThrough?: ReactEventHandler<HTMLTextAreaElement>;
    onCanPlayThroughCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onChange?: ((text) => void);
    onChangeCapture?: FormEventHandler<HTMLTextAreaElement>;
    onClick?: MouseEventHandler<HTMLTextAreaElement>;
    onClickCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onCompositionEnd?: CompositionEventHandler<HTMLTextAreaElement>;
    onCompositionEndCapture?: CompositionEventHandler<HTMLTextAreaElement>;
    onCompositionStart?: CompositionEventHandler<HTMLTextAreaElement>;
    onCompositionStartCapture?: CompositionEventHandler<HTMLTextAreaElement>;
    onCompositionUpdate?: CompositionEventHandler<HTMLTextAreaElement>;
    onCompositionUpdateCapture?: CompositionEventHandler<HTMLTextAreaElement>;
    onContextMenu?: MouseEventHandler<HTMLTextAreaElement>;
    onContextMenuCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onCopy?: ClipboardEventHandler<HTMLTextAreaElement>;
    onCopyCapture?: ClipboardEventHandler<HTMLTextAreaElement>;
    onCut?: ClipboardEventHandler<HTMLTextAreaElement>;
    onCutCapture?: ClipboardEventHandler<HTMLTextAreaElement>;
    onDoubleClick?: MouseEventHandler<HTMLTextAreaElement>;
    onDoubleClickCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onDrag?: DragEventHandler<HTMLTextAreaElement>;
    onDragCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDragEnd?: DragEventHandler<HTMLTextAreaElement>;
    onDragEndCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDragEnter?: DragEventHandler<HTMLTextAreaElement>;
    onDragEnterCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDragExit?: DragEventHandler<HTMLTextAreaElement>;
    onDragExitCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDragLeave?: DragEventHandler<HTMLTextAreaElement>;
    onDragLeaveCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDragOver?: DragEventHandler<HTMLTextAreaElement>;
    onDragOverCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDragStart?: DragEventHandler<HTMLTextAreaElement>;
    onDragStartCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDrop?: DragEventHandler<HTMLTextAreaElement>;
    onDropCapture?: DragEventHandler<HTMLTextAreaElement>;
    onDurationChange?: ReactEventHandler<HTMLTextAreaElement>;
    onDurationChangeCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onEmptied?: ReactEventHandler<HTMLTextAreaElement>;
    onEmptiedCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onEncrypted?: ReactEventHandler<HTMLTextAreaElement>;
    onEncryptedCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onEnded?: ReactEventHandler<HTMLTextAreaElement>;
    onEndedCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onError?: ReactEventHandler<HTMLTextAreaElement>;
    onErrorCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onFocus?: FocusEventHandler<HTMLTextAreaElement>;
    onFocusCapture?: FocusEventHandler<HTMLTextAreaElement>;
    onGotPointerCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onGotPointerCaptureCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onInput?: FormEventHandler<HTMLTextAreaElement>;
    onInputCapture?: FormEventHandler<HTMLTextAreaElement>;
    onInvalid?: FormEventHandler<HTMLTextAreaElement>;
    onInvalidCapture?: FormEventHandler<HTMLTextAreaElement>;
    onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyDownCapture?: KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyPress?: KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyPressCapture?: KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyUp?: KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyUpCapture?: KeyboardEventHandler<HTMLTextAreaElement>;
    onLoad?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadStart?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadStartCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadedData?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadedDataCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadedMetadata?: ReactEventHandler<HTMLTextAreaElement>;
    onLoadedMetadataCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onLostPointerCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onLostPointerCaptureCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onMouseDown?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseDownCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseEnter?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseLeave?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseMove?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseMoveCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseOut?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseOutCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseOver?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseOverCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseUp?: MouseEventHandler<HTMLTextAreaElement>;
    onMouseUpCapture?: MouseEventHandler<HTMLTextAreaElement>;
    onPaste?: ClipboardEventHandler<HTMLTextAreaElement>;
    onPasteCapture?: ClipboardEventHandler<HTMLTextAreaElement>;
    onPause?: ReactEventHandler<HTMLTextAreaElement>;
    onPauseCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onPlay?: ReactEventHandler<HTMLTextAreaElement>;
    onPlayCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onPlaying?: ReactEventHandler<HTMLTextAreaElement>;
    onPlayingCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onPointerCancel?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerCancelCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerDown?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerDownCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerEnter?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerEnterCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerLeave?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerLeaveCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerMove?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerMoveCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerOut?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerOutCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerOver?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerOverCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerUp?: PointerEventHandler<HTMLTextAreaElement>;
    onPointerUpCapture?: PointerEventHandler<HTMLTextAreaElement>;
    onPressEnter?: KeyboardEventHandler<HTMLTextAreaElement>;
    onProgress?: ReactEventHandler<HTMLTextAreaElement>;
    onProgressCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onRateChange?: ReactEventHandler<HTMLTextAreaElement>;
    onRateChangeCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onReset?: FormEventHandler<HTMLTextAreaElement>;
    onResetCapture?: FormEventHandler<HTMLTextAreaElement>;
    onResize?: ((size) => void);
    onResizeCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onScroll?: UIEventHandler<HTMLTextAreaElement>;
    onScrollCapture?: UIEventHandler<HTMLTextAreaElement>;
    onSearch?: ((text, prefix) => void);
    onSeeked?: ReactEventHandler<HTMLTextAreaElement>;
    onSeekedCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onSeeking?: ReactEventHandler<HTMLTextAreaElement>;
    onSeekingCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onSelect?: ((option, prefix) => void);
    onSelectCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onStalled?: ReactEventHandler<HTMLTextAreaElement>;
    onStalledCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onSubmit?: FormEventHandler<HTMLTextAreaElement>;
    onSubmitCapture?: FormEventHandler<HTMLTextAreaElement>;
    onSuspend?: ReactEventHandler<HTMLTextAreaElement>;
    onSuspendCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onTimeUpdate?: ReactEventHandler<HTMLTextAreaElement>;
    onTimeUpdateCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onTouchCancel?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchCancelCapture?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchEnd?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchEndCapture?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchMove?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchMoveCapture?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchStart?: TouchEventHandler<HTMLTextAreaElement>;
    onTouchStartCapture?: TouchEventHandler<HTMLTextAreaElement>;
    onTransitionEnd?: TransitionEventHandler<HTMLTextAreaElement>;
    onTransitionEndCapture?: TransitionEventHandler<HTMLTextAreaElement>;
    onVolumeChange?: ReactEventHandler<HTMLTextAreaElement>;
    onVolumeChangeCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onWaiting?: ReactEventHandler<HTMLTextAreaElement>;
    onWaitingCapture?: ReactEventHandler<HTMLTextAreaElement>;
    onWheel?: WheelEventHandler<HTMLTextAreaElement>;
    onWheelCapture?: WheelEventHandler<HTMLTextAreaElement>;
    open?: boolean;
    options?: DataDrivenOptionProps[];
    placeholder?: string;
    placement?: Placement;
    popupClassName?: string;
    prefix?: string | string[];
    prefixCls?: string;
    property?: string;
    radioGroup?: string;
    readOnly?: boolean;
    rel?: string;
    required?: boolean;
    resource?: string;
    results?: number;
    rev?: string;
    role?: AriaRole;
    rootClassName?: string;
    rows?: number;
    security?: string;
    slot?: string;
    spellCheck?: Booleanish;
    split?: string;
    status?: "" | "error" | "warning";
    style?: CSSProperties;
    styles?: {
        count?: CSSProperties;
        textarea?: CSSProperties;
    };
    suppressContentEditableWarning?: boolean;
    suppressHydrationWarning?: boolean;
    tabIndex?: number;
    title?: string;
    transitionName?: string;
    translate?: "no" | "yes";
    tw?: string;
    typeof?: string;
    unselectable?: "on" | "off";
    validateSearch?: ((text, split) => boolean);
    value?: string;
    variant?: "filled" | "outlined" | "borderless";
    vocab?: string;
    wrap?: string;
}

Hierarchy

  • Omit<RcMentionsProps, "suffix">
    • MentionProps

Properties

about? accessKey? allowClear? aria-activedescendant? aria-atomic? aria-autocomplete? aria-braillelabel? aria-brailleroledescription? aria-busy? aria-checked? aria-colcount? aria-colindex? aria-colindextext? aria-colspan? aria-controls? aria-current? aria-describedby? aria-description? aria-details? aria-disabled? aria-dropeffect? aria-errormessage? aria-expanded? aria-flowto? aria-grabbed? aria-haspopup? aria-hidden? aria-invalid? aria-keyshortcuts? aria-label? aria-labelledby? aria-level? aria-live? aria-modal? aria-multiline? aria-multiselectable? aria-orientation? aria-owns? aria-placeholder? aria-posinset? aria-pressed? aria-readonly? aria-relevant? aria-required? aria-roledescription? aria-rowcount? aria-rowindex? aria-rowindextext? aria-rowspan? aria-selected? aria-setsize? aria-sort? aria-valuemax? aria-valuemin? aria-valuenow? aria-valuetext? autoCapitalize? autoComplete? autoCorrect? autoFocus? autoSave? autoSize? children? className? classNames? color? cols? content? contentEditable? contextMenu? count? dangerouslySetInnerHTML? datatype? defaultChecked? defaultValue? dir? dirName? direction? disabled? draggable? dropdownClassName? filterOption? form? getPopupContainer? hidden? id? inlist? inputMode? is? itemID? itemProp? itemRef? itemScope? itemType? lang? loading? maxLength? minLength? name? nonce? notFoundContent? onAbort? onAbortCapture? onAnimationEnd? onAnimationEndCapture? onAnimationIteration? onAnimationIterationCapture? onAnimationStart? onAnimationStartCapture? onAuxClick? onAuxClickCapture? onBeforeInput? onBeforeInputCapture? onBlur? onBlurCapture? onCanPlay? onCanPlayCapture? onCanPlayThrough? onCanPlayThroughCapture? onChange? onChangeCapture? onClick? onClickCapture? onCompositionEnd? onCompositionEndCapture? onCompositionStart? onCompositionStartCapture? onCompositionUpdate? onCompositionUpdateCapture? onContextMenu? onContextMenuCapture? onCopy? onCopyCapture? onCut? onCutCapture? onDoubleClick? onDoubleClickCapture? onDrag? onDragCapture? onDragEnd? onDragEndCapture? onDragEnter? onDragEnterCapture? onDragExit? onDragExitCapture? onDragLeave? onDragLeaveCapture? onDragOver? onDragOverCapture? onDragStart? onDragStartCapture? onDrop? onDropCapture? onDurationChange? onDurationChangeCapture? onEmptied? onEmptiedCapture? onEncrypted? onEncryptedCapture? onEnded? onEndedCapture? onError? onErrorCapture? onFocus? onFocusCapture? onGotPointerCapture? onGotPointerCaptureCapture? onInput? onInputCapture? onInvalid? onInvalidCapture? onKeyDown? onKeyDownCapture? onKeyPress? onKeyPressCapture? onKeyUp? onKeyUpCapture? onLoad? onLoadCapture? onLoadStart? onLoadStartCapture? onLoadedData? onLoadedDataCapture? onLoadedMetadata? onLoadedMetadataCapture? onLostPointerCapture? onLostPointerCaptureCapture? onMouseDown? onMouseDownCapture? onMouseEnter? onMouseLeave? onMouseMove? onMouseMoveCapture? onMouseOut? onMouseOutCapture? onMouseOver? onMouseOverCapture? onMouseUp? onMouseUpCapture? onPaste? onPasteCapture? onPause? onPauseCapture? onPlay? onPlayCapture? onPlaying? onPlayingCapture? onPointerCancel? onPointerCancelCapture? onPointerDown? onPointerDownCapture? onPointerEnter? onPointerEnterCapture? onPointerLeave? onPointerLeaveCapture? onPointerMove? onPointerMoveCapture? onPointerOut? onPointerOutCapture? onPointerOver? onPointerOverCapture? onPointerUp? onPointerUpCapture? onPressEnter? onProgress? onProgressCapture? onRateChange? onRateChangeCapture? onReset? onResetCapture? onResize? onResizeCapture? onScroll? onScrollCapture? onSearch? onSeeked? onSeekedCapture? onSeeking? onSeekingCapture? onSelect? onSelectCapture? onStalled? onStalledCapture? onSubmit? onSubmitCapture? onSuspend? onSuspendCapture? onTimeUpdate? onTimeUpdateCapture? onTouchCancel? onTouchCancelCapture? onTouchEnd? onTouchEndCapture? onTouchMove? onTouchMoveCapture? onTouchStart? onTouchStartCapture? onTransitionEnd? onTransitionEndCapture? onVolumeChange? onVolumeChangeCapture? onWaiting? onWaitingCapture? onWheel? onWheelCapture? open? options? placeholder? placement? popupClassName? prefix? prefixCls? property? radioGroup? readOnly? rel? required? resource? results? rev? role? rootClassName? rows? security? slot? spellCheck? split? status? style? styles? suppressContentEditableWarning? suppressHydrationWarning? tabIndex? title? transitionName? translate? tw? typeof? unselectable? validateSearch? value? variant? vocab? wrap?

Properties

about?: string
accessKey?: string
allowClear?: boolean | {
    clearIcon?: ReactNode;
}

Type declaration

  • Optional clearIcon?: ReactNode
aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "none" | "inline" | "both" | "list"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

See

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

See

aria-roledescription.

aria-busy?: Booleanish
aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

See

  • aria-pressed
  • aria-selected.
aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

See

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

See

  • aria-colcount
  • aria-colspan.
aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

See

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

See

  • aria-colindex
  • aria-rowspan.
aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

See

aria-owns.

aria-current?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

See

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

See

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

See

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

See

  • aria-hidden
  • aria-readonly.
aria-dropeffect?: "link" | "copy" | "none" | "move" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

Deprecated

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

See

  • aria-invalid
  • aria-describedby.
aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

Deprecated

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

See

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

See

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

See

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

See

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "horizontal" | "vertical"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

See

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

See

  • aria-checked
  • aria-selected.
aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

See

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

See

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

See

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

See

  • aria-rowcount
  • aria-rowspan.
aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

See

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

See

  • aria-rowindex
  • aria-colspan.
aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

See

  • aria-checked
  • aria-pressed.
aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

See

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

autoCapitalize?: string
autoComplete?: string
autoCorrect?: string
autoFocus?: boolean
autoSave?: string
autoSize?: boolean | AutoSizeType
children?: ReactNode
className?: string
classNames?: {
    affixWrapper?: string;
    groupWrapper?: string;
    prefix?: string;
    suffix?: string;
    variant?: string;
    wrapper?: string;
} & {
    mentions?: string;
}

Type declaration

  • Optional affixWrapper?: string
  • Optional groupWrapper?: string
  • Optional prefix?: string
  • Optional suffix?: string
  • Optional variant?: string
  • Optional wrapper?: string

Type declaration

  • Optional mentions?: string
color?: string
cols?: number
content?: string
contentEditable?: "inherit" | Booleanish | "plaintext-only"
contextMenu?: string
count?: CountConfig
dangerouslySetInnerHTML?: {
    __html: string | TrustedHTML;
}

Type declaration

  • __html: string | TrustedHTML
datatype?: string
defaultChecked?: boolean
defaultValue?: string
dir?: string
dirName?: string
direction?: Direction
disabled?: boolean
draggable?: Booleanish
dropdownClassName?: string
filterOption?: false | ((input, __namedParameters) => boolean)

Type declaration

    • (input, __namedParameters): boolean
    • Parameters

      • input: string
      • __namedParameters: OptionProps

      Returns boolean

form?: string
getPopupContainer?: (() => HTMLElement)

Type declaration

hidden?: boolean
id?: string
inlist?: any
inputMode?: "search" | "text" | "email" | "url" | "none" | "tel" | "numeric" | "decimal"

Hints at the type of data that might be entered by the user while editing the element or its contents

is?: string

Specify that a standard HTML element should behave like a defined custom built-in element

itemID?: string
itemProp?: string
itemRef?: string
itemScope?: boolean
itemType?: string
lang?: string
loading?: boolean
maxLength?: number
minLength?: number
name?: string
nonce?: string
notFoundContent?: ReactNode
onAbort?: ReactEventHandler<HTMLTextAreaElement>
onAbortCapture?: ReactEventHandler<HTMLTextAreaElement>
onAnimationEnd?: AnimationEventHandler<HTMLTextAreaElement>
onAnimationEndCapture?: AnimationEventHandler<HTMLTextAreaElement>
onAnimationIteration?: AnimationEventHandler<HTMLTextAreaElement>
onAnimationIterationCapture?: AnimationEventHandler<HTMLTextAreaElement>
onAnimationStart?: AnimationEventHandler<HTMLTextAreaElement>
onAnimationStartCapture?: AnimationEventHandler<HTMLTextAreaElement>
onAuxClick?: MouseEventHandler<HTMLTextAreaElement>
onAuxClickCapture?: MouseEventHandler<HTMLTextAreaElement>
onBeforeInput?: FormEventHandler<HTMLTextAreaElement>
onBeforeInputCapture?: FormEventHandler<HTMLTextAreaElement>
onBlur?: FocusEventHandler<HTMLTextAreaElement>
onBlurCapture?: FocusEventHandler<HTMLTextAreaElement>
onCanPlay?: ReactEventHandler<HTMLTextAreaElement>
onCanPlayCapture?: ReactEventHandler<HTMLTextAreaElement>
onCanPlayThrough?: ReactEventHandler<HTMLTextAreaElement>
onCanPlayThroughCapture?: ReactEventHandler<HTMLTextAreaElement>
onChange?: ((text) => void)

Type declaration

    • (text): void
    • Parameters

      • text: string

      Returns void

onChangeCapture?: FormEventHandler<HTMLTextAreaElement>
onClick?: MouseEventHandler<HTMLTextAreaElement>
onClickCapture?: MouseEventHandler<HTMLTextAreaElement>
onCompositionEnd?: CompositionEventHandler<HTMLTextAreaElement>
onCompositionEndCapture?: CompositionEventHandler<HTMLTextAreaElement>
onCompositionStart?: CompositionEventHandler<HTMLTextAreaElement>
onCompositionStartCapture?: CompositionEventHandler<HTMLTextAreaElement>
onCompositionUpdate?: CompositionEventHandler<HTMLTextAreaElement>
onCompositionUpdateCapture?: CompositionEventHandler<HTMLTextAreaElement>
onContextMenu?: MouseEventHandler<HTMLTextAreaElement>
onContextMenuCapture?: MouseEventHandler<HTMLTextAreaElement>
onCopy?: ClipboardEventHandler<HTMLTextAreaElement>
onCopyCapture?: ClipboardEventHandler<HTMLTextAreaElement>
onCut?: ClipboardEventHandler<HTMLTextAreaElement>
onCutCapture?: ClipboardEventHandler<HTMLTextAreaElement>
onDoubleClick?: MouseEventHandler<HTMLTextAreaElement>
onDoubleClickCapture?: MouseEventHandler<HTMLTextAreaElement>
onDrag?: DragEventHandler<HTMLTextAreaElement>
onDragCapture?: DragEventHandler<HTMLTextAreaElement>
onDragEnd?: DragEventHandler<HTMLTextAreaElement>
onDragEndCapture?: DragEventHandler<HTMLTextAreaElement>
onDragEnter?: DragEventHandler<HTMLTextAreaElement>
onDragEnterCapture?: DragEventHandler<HTMLTextAreaElement>
onDragExit?: DragEventHandler<HTMLTextAreaElement>
onDragExitCapture?: DragEventHandler<HTMLTextAreaElement>
onDragLeave?: DragEventHandler<HTMLTextAreaElement>
onDragLeaveCapture?: DragEventHandler<HTMLTextAreaElement>
onDragOver?: DragEventHandler<HTMLTextAreaElement>
onDragOverCapture?: DragEventHandler<HTMLTextAreaElement>
onDragStart?: DragEventHandler<HTMLTextAreaElement>
onDragStartCapture?: DragEventHandler<HTMLTextAreaElement>
onDrop?: DragEventHandler<HTMLTextAreaElement>
onDropCapture?: DragEventHandler<HTMLTextAreaElement>
onDurationChange?: ReactEventHandler<HTMLTextAreaElement>
onDurationChangeCapture?: ReactEventHandler<HTMLTextAreaElement>
onEmptied?: ReactEventHandler<HTMLTextAreaElement>
onEmptiedCapture?: ReactEventHandler<HTMLTextAreaElement>
onEncrypted?: ReactEventHandler<HTMLTextAreaElement>
onEncryptedCapture?: ReactEventHandler<HTMLTextAreaElement>
onEnded?: ReactEventHandler<HTMLTextAreaElement>
onEndedCapture?: ReactEventHandler<HTMLTextAreaElement>
onError?: ReactEventHandler<HTMLTextAreaElement>
onErrorCapture?: ReactEventHandler<HTMLTextAreaElement>
onFocus?: FocusEventHandler<HTMLTextAreaElement>
onFocusCapture?: FocusEventHandler<HTMLTextAreaElement>
onGotPointerCapture?: PointerEventHandler<HTMLTextAreaElement>
onGotPointerCaptureCapture?: PointerEventHandler<HTMLTextAreaElement>
onInput?: FormEventHandler<HTMLTextAreaElement>
onInputCapture?: FormEventHandler<HTMLTextAreaElement>
onInvalid?: FormEventHandler<HTMLTextAreaElement>
onInvalidCapture?: FormEventHandler<HTMLTextAreaElement>
onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>
onKeyDownCapture?: KeyboardEventHandler<HTMLTextAreaElement>
onKeyPress?: KeyboardEventHandler<HTMLTextAreaElement>

Deprecated

onKeyPressCapture?: KeyboardEventHandler<HTMLTextAreaElement>

Deprecated

onKeyUp?: KeyboardEventHandler<HTMLTextAreaElement>
onKeyUpCapture?: KeyboardEventHandler<HTMLTextAreaElement>
onLoad?: ReactEventHandler<HTMLTextAreaElement>
onLoadCapture?: ReactEventHandler<HTMLTextAreaElement>
onLoadStart?: ReactEventHandler<HTMLTextAreaElement>
onLoadStartCapture?: ReactEventHandler<HTMLTextAreaElement>
onLoadedData?: ReactEventHandler<HTMLTextAreaElement>
onLoadedDataCapture?: ReactEventHandler<HTMLTextAreaElement>
onLoadedMetadata?: ReactEventHandler<HTMLTextAreaElement>
onLoadedMetadataCapture?: ReactEventHandler<HTMLTextAreaElement>
onLostPointerCapture?: PointerEventHandler<HTMLTextAreaElement>
onLostPointerCaptureCapture?: PointerEventHandler<HTMLTextAreaElement>
onMouseDown?: MouseEventHandler<HTMLTextAreaElement>
onMouseDownCapture?: MouseEventHandler<HTMLTextAreaElement>
onMouseEnter?: MouseEventHandler<HTMLTextAreaElement>
onMouseLeave?: MouseEventHandler<HTMLTextAreaElement>
onMouseMove?: MouseEventHandler<HTMLTextAreaElement>
onMouseMoveCapture?: MouseEventHandler<HTMLTextAreaElement>
onMouseOut?: MouseEventHandler<HTMLTextAreaElement>
onMouseOutCapture?: MouseEventHandler<HTMLTextAreaElement>
onMouseOver?: MouseEventHandler<HTMLTextAreaElement>
onMouseOverCapture?: MouseEventHandler<HTMLTextAreaElement>
onMouseUp?: MouseEventHandler<HTMLTextAreaElement>
onMouseUpCapture?: MouseEventHandler<HTMLTextAreaElement>
onPaste?: ClipboardEventHandler<HTMLTextAreaElement>
onPasteCapture?: ClipboardEventHandler<HTMLTextAreaElement>
onPause?: ReactEventHandler<HTMLTextAreaElement>
onPauseCapture?: ReactEventHandler<HTMLTextAreaElement>
onPlay?: ReactEventHandler<HTMLTextAreaElement>
onPlayCapture?: ReactEventHandler<HTMLTextAreaElement>
onPlaying?: ReactEventHandler<HTMLTextAreaElement>
onPlayingCapture?: ReactEventHandler<HTMLTextAreaElement>
onPointerCancel?: PointerEventHandler<HTMLTextAreaElement>
onPointerCancelCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerDown?: PointerEventHandler<HTMLTextAreaElement>
onPointerDownCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerEnter?: PointerEventHandler<HTMLTextAreaElement>
onPointerEnterCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerLeave?: PointerEventHandler<HTMLTextAreaElement>
onPointerLeaveCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerMove?: PointerEventHandler<HTMLTextAreaElement>
onPointerMoveCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerOut?: PointerEventHandler<HTMLTextAreaElement>
onPointerOutCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerOver?: PointerEventHandler<HTMLTextAreaElement>
onPointerOverCapture?: PointerEventHandler<HTMLTextAreaElement>
onPointerUp?: PointerEventHandler<HTMLTextAreaElement>
onPointerUpCapture?: PointerEventHandler<HTMLTextAreaElement>
onPressEnter?: KeyboardEventHandler<HTMLTextAreaElement>
onProgress?: ReactEventHandler<HTMLTextAreaElement>
onProgressCapture?: ReactEventHandler<HTMLTextAreaElement>
onRateChange?: ReactEventHandler<HTMLTextAreaElement>
onRateChangeCapture?: ReactEventHandler<HTMLTextAreaElement>
onReset?: FormEventHandler<HTMLTextAreaElement>
onResetCapture?: FormEventHandler<HTMLTextAreaElement>
onResize?: ((size) => void)

Type declaration

    • (size): void
    • Parameters

      • size: {
            height: number;
            width: number;
        }
        • height: number
        • width: number

      Returns void

onResizeCapture?: ReactEventHandler<HTMLTextAreaElement>
onScroll?: UIEventHandler<HTMLTextAreaElement>
onScrollCapture?: UIEventHandler<HTMLTextAreaElement>
onSearch?: ((text, prefix) => void)

Type declaration

    • (text, prefix): void
    • Parameters

      • text: string
      • prefix: string

      Returns void

onSeeked?: ReactEventHandler<HTMLTextAreaElement>
onSeekedCapture?: ReactEventHandler<HTMLTextAreaElement>
onSeeking?: ReactEventHandler<HTMLTextAreaElement>
onSeekingCapture?: ReactEventHandler<HTMLTextAreaElement>
onSelect?: ((option, prefix) => void)

Type declaration

    • (option, prefix): void
    • Parameters

      • option: OptionProps
      • prefix: string

      Returns void

onSelectCapture?: ReactEventHandler<HTMLTextAreaElement>
onStalled?: ReactEventHandler<HTMLTextAreaElement>
onStalledCapture?: ReactEventHandler<HTMLTextAreaElement>
onSubmit?: FormEventHandler<HTMLTextAreaElement>
onSubmitCapture?: FormEventHandler<HTMLTextAreaElement>
onSuspend?: ReactEventHandler<HTMLTextAreaElement>
onSuspendCapture?: ReactEventHandler<HTMLTextAreaElement>
onTimeUpdate?: ReactEventHandler<HTMLTextAreaElement>
onTimeUpdateCapture?: ReactEventHandler<HTMLTextAreaElement>
onTouchCancel?: TouchEventHandler<HTMLTextAreaElement>
onTouchCancelCapture?: TouchEventHandler<HTMLTextAreaElement>
onTouchEnd?: TouchEventHandler<HTMLTextAreaElement>
onTouchEndCapture?: TouchEventHandler<HTMLTextAreaElement>
onTouchMove?: TouchEventHandler<HTMLTextAreaElement>
onTouchMoveCapture?: TouchEventHandler<HTMLTextAreaElement>
onTouchStart?: TouchEventHandler<HTMLTextAreaElement>
onTouchStartCapture?: TouchEventHandler<HTMLTextAreaElement>
onTransitionEnd?: TransitionEventHandler<HTMLTextAreaElement>
onTransitionEndCapture?: TransitionEventHandler<HTMLTextAreaElement>
onVolumeChange?: ReactEventHandler<HTMLTextAreaElement>
onVolumeChangeCapture?: ReactEventHandler<HTMLTextAreaElement>
onWaiting?: ReactEventHandler<HTMLTextAreaElement>
onWaitingCapture?: ReactEventHandler<HTMLTextAreaElement>
onWheel?: WheelEventHandler<HTMLTextAreaElement>
onWheelCapture?: WheelEventHandler<HTMLTextAreaElement>
open?: boolean

Testing usage. Do not use in prod. It will not work as your expect.

options?: DataDrivenOptionProps[]
placeholder?: string
placement?: Placement
popupClassName?: string
prefix?: string | string[]
prefixCls?: string
property?: string
radioGroup?: string
readOnly?: boolean
rel?: string
required?: boolean
resource?: string
results?: number
rev?: string
role?: AriaRole
rootClassName?: string
rows?: number
security?: string
slot?: string
spellCheck?: Booleanish
split?: string
status?: "" | "error" | "warning"
style?: CSSProperties
styles?: {
    count?: CSSProperties;
    textarea?: CSSProperties;
}

Type declaration

  • Optional count?: CSSProperties
  • Optional textarea?: CSSProperties
suppressContentEditableWarning?: boolean
suppressHydrationWarning?: boolean
tabIndex?: number
title?: string
transitionName?: string
translate?: "no" | "yes"
tw?: string

Specify styles using Tailwind CSS classes. This feature is currently experimental. If style prop is also specified, styles generated with tw prop will be overridden.

Example:

  • tw='w-full h-full bg-blue-200'
  • tw='text-9xl'
  • tw='text-[80px]'
typeof?: string
unselectable?: "on" | "off"
validateSearch?: ((text, split) => boolean)

Type declaration

    • (text, split): boolean
    • Parameters

      • text: string
      • split: undefined | string

      Returns boolean

value?: string
variant?: "filled" | "outlined" | "borderless"

Since

5.13.0

Default

"outlined"
vocab?: string
wrap?: string

Generated using TypeDoc