<DataGridPro
  {...data}
  loading={loading}
  rows={rowsData.rows}
  pinnedRows={rowsData.pinnedRows}
  initialState={{
    ...data.initialState,
    pagination: {
      ...data.initialState?.pagination,
      paginationModel: { pageSize: 25 },
    },
  }}
  pagination
  pageSizeOptions={[5, 10, 25, 50, 100]}
/>