Browse Source

update label

master
jason.lam 1 year ago
parent
commit
97d3622d9c
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      src/components/FiDataGrid.js

+ 1
- 6
src/components/FiDataGrid.js View File

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


Loading…
Cancel
Save