<DataGrid
  {...data}
  loading={loading}
  initialState={{
    ...data.initialState,
    pagination: { paginationModel: { pageSize: 5 } },
  }}
  pageSizeOptions={[5, 10, 25, { value: -1, label: 'All' }]}
/>