最佳答案
查看source code并没有真正改变文本值的 Prop 。
但是我确实找到了一种使用 localeText
更改它的方法
<DataGrid
localeText={{
toolbarExportCSV: "Export to CSV",
}}
...
slots={{
toolbar: CustomToolbar,
}}
/>
所有其他选项均可在 here on github 中找到
关于reactjs - 如何更改 MUI Datagrid 中的导出标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75731178/