Optional custom data type for mention metadata
OptionaldeleteMode?: DeleteModeControls how mentions behave when edited (default: 'default')
Optionalenabled?: booleanWhether mention detection is enabled (default: true)
Current list of mentions (controlled)
OptionalmentionStyle?: TextStyleStyle to apply to mention text
Callback when text changes
Callback when mentions change
OptionalrenderSuggestions?: (props: SuggestionRenderProps<T>) => React.ReactNodeRender function for the suggestions popup
Optionaltrigger?: stringTrigger character for mentions (default: "@")
Current text value (controlled)
Props for the MentionsInput component.