react-native-mentions-input
    Preparing search index...

    Type Alias MentionSuggestion<T>

    Represents a suggestion item that can be selected to create a mention.

    type MentionSuggestion<T = unknown> = {
        data?: T;
        displayText: string;
        id: string | number;
    }

    Type Parameters

    • T = unknown

      Optional custom data type for additional suggestion metadata

    Index

    Properties

    Properties

    data?: T

    Optional custom data attached to the suggestion

    displayText: string

    The display text to show when this suggestion becomes a mention

    id: string | number

    Unique identifier for the suggestion