TableProps
TableProps
props are used for components that refer to a single Table
in a Store
, such as the TableView
component.
{
tableId: Id;
store?: StoreOrStoreId;
rowComponent?: ComponentType<RowProps>;
getRowComponentProps?: (rowId: Id) => ExtraProps;
customCellIds?: Ids;
separator?: ReactElement | string;
debugIds?: boolean;
}
Type | Description | |
---|---|---|
tableId | Id | |
store? | StoreOrStoreId | The |
rowComponent? | ComponentType<RowProps> | A custom component for rendering each |
getRowComponentProps? | (rowId: Id) => ExtraProps | A function for generating extra props for each custom |
customCellIds? | Ids | An optional list of |
separator? | ReactElement | string | A component or string to separate each |
debugIds? | boolean | Whether the component should also render the |
Since
v1.0.0