mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-20 08:39:43 -06:00
Fixed missing pageSizeOptions prop for data grid
This commit is contained in:
@@ -64,7 +64,7 @@ const rows = ((count) => {
|
||||
name: {
|
||||
avatarImage: i % 2 === 0 ? avatarImage : null,
|
||||
firstName: "Placeholder Name",
|
||||
lastName: i,
|
||||
lastName: i.toString(),
|
||||
},
|
||||
status: "Active",
|
||||
role: "Product Designer",
|
||||
@@ -180,7 +180,7 @@ const Demo = () => {
|
||||
</FormControl>
|
||||
</div>
|
||||
<h4>Table</h4>
|
||||
<div style={{ width: "50vw" }}>
|
||||
<div style={{ width: "75vw" }}>
|
||||
<DataGrid
|
||||
autoHeight
|
||||
columns={cols}
|
||||
@@ -190,6 +190,7 @@ const Demo = () => {
|
||||
paginationModel: { page: 0, pageSize: 10 },
|
||||
},
|
||||
}}
|
||||
pageSizeOptions={[5, 10]}
|
||||
/>
|
||||
</div>
|
||||
<h4>Tabs</h4>
|
||||
|
||||
Reference in New Issue
Block a user