import { Details2Svg } from '../_shared/svg/Details2Svg'; import AddSvg from '../_shared/svg/AddSvg'; import { BoardCard } from './BoardCard'; import { RowInfo } from '../../stores/effects/database/row/row_cache'; import { DatabaseController } from '../../stores/effects/database/database_controller'; import { RowPB } from '@/services/backend'; import { Draggable } from 'react-beautiful-dnd'; export const BoardBlock = ({ viewId, controller, title, rows, allRows, onNewRowClick, }: { viewId: string; controller: DatabaseController; title: string; rows: RowPB[]; allRows: readonly RowInfo[]; onNewRowClick: () => void; }) => { return (