locale

v4.9.10arrow_drop_down
v4.9.10
STATUS
Passing
DOWNLOADS
6
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
4 KB
props: {
1 contributor
Install locale as a package?
Copied
npm i @bit/mui-org.material-ui.locale
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right
locale ()

props: { MuiBreadcrumbs: { expandText: 'Show path’, }, MuiTablePagination: { backIconButtonText: 'Previous page’, labelRowsPerPage: 'Rows per page:’, labelDisplayedRows: ({ from, to, count }) => ${from}-${to === -1 ? count : to} of ${count}, nextIconButtonText: 'Next page’, }, MuiRating: { getLabelText: value => ${value} Star${value !== 1 ? 's' : ''}, emptyLabelText: 'Empty’, }, MuiAutocomplete: { clearText: 'Clear’, closeText: 'Close’, loadingText: 'Loading…’, noOptionsText: 'No options’, openText: 'Open’, }, MuiAlert: { closeText: 'Close’, }, MuiPagination: { '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’; } return undefined; }, }, },

Help and resources