<DataGridPremium
  {...data}
  apiRef={apiRef}
  columns={COLUMNS}
  disableRowSelectionOnClick
  initialState={initialState}
  aggregationFunctions={{
    ...GRID_AGGREGATION_FUNCTIONS,
    profit,
  }}
/>