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.

79 lines (78 loc) 2.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.thTH = void 0; const thTH = exports.thTH = { components: { MuiBreadcrumbs: { defaultProps: { expandText: 'แสดงเส้นทาง' } }, MuiTablePagination: { defaultProps: { getItemAriaLabel: type => { if (type === 'first') { return 'ไปที่หน้าแรก'; } if (type === 'last') { return 'ไปที่หน้าสุดท้าย'; } if (type === 'next') { return 'ไปที่หน้าถัดไป'; } // if (type === 'previous') { 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: 'ปิด' } }, MuiPagination: { defaultProps: { 'aria-label': '', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'ไปที่'}หน้า ${page}`; } if (type === 'first') { return 'ไปที่หน้าแรก'; } if (type === 'last') { return 'ไปที่หน้าสุดท้าย'; } if (type === 'next') { return 'ไปที่หน้าถัดไป'; } // if (type === 'previous') { return 'ไปที่หน้าก่อน'; } } } } };