@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.
76 lines (75 loc) • 2.1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.hyAM = void 0;
const hyAM = exports.hyAM = {
components: {
// MuiBreadcrumbs: {
// defaultProps: {
// expandText: 'Show path',
// },
// },
MuiTablePagination: {
defaultProps: {
// getItemAriaLabel: (type) => {
// if (type === 'first') {
// return 'Go to first page';
// }
// if (type === 'last') {
// return 'Go to last page';
// }
// if (type === 'next') {
// return 'Go to next page';
// }
// // if (type === 'previous') {
// return 'Go to previous page';
// },
labelRowsPerPage: 'Տողեր մեկ էջում`'
// labelDisplayedRows: ({ from, to, count }) =>
// `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Աստղ`,
emptyLabelText: 'Դատարկ'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Մաքրել',
closeText: 'Փակել',
loadingText: 'Բեռնում…',
noOptionsText: 'Տարբերակներ չկան',
openText: 'Բացել'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Փակել'
}
}
// MuiPagination: {
// defaultProps: {
// 'aria-label': 'Pagination navigation',
// getItemAriaLabel: (type, page, selected) => {
// if (type === 'page') {
// return `${selected ? '' : 'Go to '}page ${page}`;
// }
// if (type === 'first') {
// return 'Go to first page';
// }
// if (type === 'last') {
// return 'Go to last page';
// }
// if (type === 'next') {
// return 'Go to next page';
// }
// // if (type === 'previous') {
// return 'Go to previous page';
// },
// },
// },
}
};