UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

51 lines 1.19 kB
export const zhCN = { components: { MuiBreadcrumbs: { defaultProps: { expandText: '展开' } }, MuiTablePagination: { defaultProps: { getItemAriaLabel: type => { if (type === 'first') { return '第一页'; } if (type === 'last') { return '最后一页'; } if (type === 'next') { return '下一页'; } return '上一页'; }, labelRowsPerPage: '每页行数:', labelDisplayedRows: ({ from, to, count }) => `第 ${from} 条到第 ${to} 条,${count !== -1 ? `共 ${count} 条` : `至少 ${to} 条`}` } }, MuiRating: { defaultProps: { getLabelText: value => `${value} 颗星`, emptyLabelText: '无标签' } }, MuiAutocomplete: { defaultProps: { clearText: '清空', closeText: '关闭', loadingText: '加载中……', noOptionsText: '没有可用选项', openText: '打开' } }, MuiAlert: { defaultProps: { closeText: '关闭' } } } };