Explorar el Código

update label

master
jason.lam hace 1 año
padre
commit
97d3622d9c
Se han modificado 1 ficheros con 1 adiciones y 6 borrados
  1. +1
    -6
      src/components/FiDataGrid.js

+ 1
- 6
src/components/FiDataGrid.js Ver fichero

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


Cargando…
Cancelar
Guardar