React MUI Pagination Modifier le texte du texte: stackoverflow.com

<TablePagination
...
  sx={{
    ".MuiTablePagination-displayedRows": {
      color: "red",
    },
    ".MuiTablePagination-selectLabel": {
      color: "green",
    },
  }}
/>
Christian Rosenville