View as Markdown

API reference: @salmonui/data-grid/engine

defineDataGridModulefunction

import { defineDataGridModule } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid.

function defineDataGridModule<Row, State, Command extends DataGridCommand, const Name extends string, Methods extends ModuleMethods<Row> = {}>(module: DataGridModule<Row, State, Command, Name, Methods>): DataGridModule<Row, State, Command, Name, Methods>;

Identity helper that keeps the module name, command union, and methods as literal types for the façade.