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

    Function findWordCoordsAt

    • Finds the word at a given cursor position in text.

      Parameters

      • text: string

        The text to search in

      • position: number

        The cursor position

      Returns WordWithPosition | null

      The word and its position, or null if not found