Sanity Library Reference Docs
    Preparing search index...

    Overview table with Studio document previews, assignee faces, and task hints.

    interface RunsTableProps {
        now: Date;
        onNavigateKey: (event: RunNavigationKeyEvent) => void;
        onSelectRun: (row: RunRow) => void;
        onSort: (key: RunSortKey) => void;
        rows: readonly RunRow[];
        scope: RunsScope;
        scopedToWorkflow: boolean;
        selectedId: string | undefined;
        selectedRef: (element: HTMLElement | null) => void;
        sort: RunSort;
    }
    Index

    Properties

    now: Date

    Update this clock to refresh relative timestamps.

    onNavigateKey: (event: RunNavigationKeyEvent) => void

    Called for keyboard input on the selected row. The host owns navigation.

    onSelectRun: (row: RunRow) => void
    onSort: (key: RunSortKey) => void

    Reports the requested column; the host applies sorting and updates rows.

    rows: readonly RunRow[]
    scope: RunsScope
    scopedToWorkflow: boolean

    Hides the workflow column when the host filters every row to one workflow.

    selectedId: string | undefined

    The selected row becomes the table's roving tab stop.

    selectedRef: (element: HTMLElement | null) => void

    Receives the selected row element for host focus and scrolling.

    sort: RunSort