Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import {
DatabaseTable,
type DatabaseTableProps,
} from '../components/database-table';
import {
createDatabaseTableModel,
type DatabaseTableModelOptions,
} from '../primitives/table-model';
/** Own the table model for the lifetime of the grid, independently of record writes. */
export function DatabaseTableView(
props: Omit<DatabaseTableProps, 'model' | 'resizable'> &
DatabaseTableModelOptions
) {
const model = createDatabaseTableModel(props);
return (
<DatabaseTable
{...props}
model={model}
resizable={!!props.onResizeColumn}
/>
);
}