gitscope
← marzneshin / v0.3.0 / dashboard/src/components/entity-table/hooks/use-row-selection.ts
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/components/entity-table/hooks/use-row-selection.ts · TypeScript
Blame Raw
1import { OnChangeFn, RowSelectionState } from "@tanstack/react-table"
2
3export interface UseRowSelectionReturn {
4    setSelectedRow: OnChangeFn<RowSelectionState>
5    selectedRow: RowSelectionState
6}