@antadesign/table
    Preparing search index...

    Interface TableCellSearchUnreviewed

    What a column's renderSearchedCell receives to mark its own matches. Everything is computed on read.

    interface TableCellSearch {
        request: TableSearchRequest;
        activeIndex: number;
        isActive: boolean;
        text: string;
        ranges: TableMatchRange[];
        matchCount: number;
        mark: (piece: string) => ReactNode;
    }
    Index
    activeIndex: number

    Index of the table's active match within this cell, or -1 when it is in another cell.

    isActive: boolean
    text: string

    The text this cell contributes to search.

    ranges: TableMatchRange[]

    Match ranges over text.

    matchCount: number
    mark: (piece: string) => ReactNode

    Marks every match in piece. Call it for each piece of text the cell renders, in the order of text, so the active match lands on the right piece.