ConstAll valid Material React Table props
The MRT table component with enhanced functionality
// Basic usage
<MRTTable
data={tableData}
columns={tableColumns}
enablePagination
/>
// With row selection
<MRTTable
data={tableData}
columns={tableColumns}
enableRowSelection
onRowSelectionChange={handleSelection}
/>
// With custom styling
<MRTTable
data={tableData}
columns={tableColumns}
className="custom-table"
muiTableHeadCellProps={{
sx: { backgroundColor: 'lightgray' }
}}
/>
Create a Material React Table component wrapper. This is a wrapper around Material React Table that maintains full compatibility with MRT props.