Represents a tile.

interface ITile<Data = IAnything, Payload = IAnything> {
    data: Data;
    index: number;
    isSelected: boolean;
    payload: Payload;
    rowMark: string;
    toggleSelection: () => void;
}

Type Parameters

  • Data = IAnything

    The type of the data stored in the tile.

  • Payload = IAnything

    The type of the payload stored in the tile.

Properties

data: Data
index: number
isSelected: boolean
payload: Payload
rowMark: string
toggleSelection: () => void