CustomCell
The CustomCell
object is used to configure custom cell rendering in an HTML table.
{
label?: string;
component?: ComponentType<CellProps>;
getComponentProps?: (rowId: Id, cellId: Id) => ExtraProps;
}
Type | Description | |
---|---|---|
label? | string | An optional string that will be used as the label at the top of the table column for this |
component? | ComponentType<CellProps> | An optional custom component for rendering each |
getComponentProps? | (rowId: Id, cellId: Id) => ExtraProps | An optional function for generating extra props for each custom |
Since
v4.1.0