Skip to content

Commit

Permalink
[docs] Fix demo rendering issue on Codesandbox (#16118)
Browse files Browse the repository at this point in the history
  • Loading branch information
arminmeh authored Jan 10, 2025
1 parent 1fdcf85 commit d25c213
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/data/data-grid/api-object/UseGridApiRef.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default function UseGridApiRef() {
pagination
paginationModel={paginationModel}
onPaginationModelChange={setPaginationModel}
pageSizeOptions={[10, 25, 50, 100]}
/>
</Box>
</Stack>
Expand Down
1 change: 1 addition & 0 deletions docs/data/data-grid/api-object/UseGridApiRef.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default function UseGridApiRef() {
pagination
paginationModel={paginationModel}
onPaginationModelChange={setPaginationModel}
pageSizeOptions={[10, 25, 50, 100]}
/>
</Box>
</Stack>
Expand Down
1 change: 1 addition & 0 deletions docs/data/data-grid/api-object/UseGridApiRef.tsx.preview
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
pagination
paginationModel={paginationModel}
onPaginationModelChange={setPaginationModel}
pageSizeOptions={[10, 25, 50, 100]}
/>
</Box>

0 comments on commit d25c213

Please sign in to comment.