Pārlūkot izejas kodu

update label

master
jason.lam pirms 1 gada
vecāks
revīzija
97d3622d9c
1 mainītis faili ar 1 papildinājumiem un 6 dzēšanām
  1. +1
    -6
      src/components/FiDataGrid.js

+ 1
- 6
src/components/FiDataGrid.js Parādīt failu

@@ -114,17 +114,12 @@ export function FiDataGrid({ rows, columns, sx, autoHeight,
labelDisplayedRows={({ from, to, count }) =>
`${from}-${to} ${intl.formatMessage({ id: "of" })} ${count}`
}
labelRowsPerPage={<FormattedMessage id="rowsPerPage" />}
labelRowsPerPage={intl.formatMessage({ id: "rowsPerPage" }) + ":"}
onPageChange={handleChangePage}
onRowsPerPageChange={handleChangePageSize}
/>
),
}}
componentsProps={{
pagination: {
labelRowsPerPage: intl.formatMessage({ id: "rowsPerPage" }) + ":",
},
}}
/>
</div>
);


Notiek ielāde…
Atcelt
Saglabāt