浏览代码

update label

master
jason.lam 1年前
父节点
当前提交
97d3622d9c
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. +1
    -6
      src/components/FiDataGrid.js

+ 1
- 6
src/components/FiDataGrid.js 查看文件

@@ -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>
); );


正在加载...
取消
保存