useViewBoard
A view's rows as board columns, with moves: ```tsx const board = useViewBoard(tasksView, { filters: useViewListParams({ view: tasksView }).filters }); board.columns.map((c) => <Lane key={c.value} title={c.label} cards={c.items} onDrop={(row) => board.move(row, c.value)} />); ``` Throws when the view has no board field and the options name none, or names one a board can't use (a field without choices).
packages/ui/src/components/data/resource-view/use-view-board.ts
@marktiderman/genesis-ui/dataimport { useViewBoard } from "@marktiderman/genesis-ui/data";react-docgen-typescript.useViewBoard
A view's rows as board columns, with moves: ```tsx const board = useViewBoard(tasksView, { filters: useViewListParams({ view: tasksView }).filters }); board.columns.map((c) => <Lane key={c.value} title={c.label} cards={c.items} onDrop={(row) => board.move(row, c.value)} />); ``` Throws when the view has no board field and the options name none, or names one a board can't use (a field without choices).
No declared props.
ViewBoardColumn
One column: its value, its words, its tone and its cards so far.
No declared props.
ViewBoardConflict
A move that met someone else's change, for ConflictSheet.
No declared props.