Skip to content

Commit

Permalink
Matt feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 25, 2020
1 parent 554d096 commit 46d8079
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions packages/material-ui/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ import { ComponentsPropsList } from '../styles/props';

export interface Localization {
components?: {
MuiAlert?: {
defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
};
MuiBreadcrumbs?: { defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'> };
MuiTablePagination?: {
defaultProps: Pick<
ComponentsPropsList['MuiTablePagination'],
'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'
>;
};
// The core package has no dependencies on the @material-ui/lab components.
// We can't use ComponentsPropsList, we have to duplicate and inline the definitions.
MuiRating?: {
defaultProps: {
emptyLabelText?: string;
getLabelText?: (value: number) => string;
};
defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
};
// The core package has no dependencies on the @material-ui/lab components.
// We can't use ComponentsPropsList, we have to duplicate and inline the definitions.
MuiAutocomplete?: {
defaultProps: {
clearText?: string;
Expand All @@ -27,11 +27,6 @@ export interface Localization {
openText?: string;
};
};
MuiAlert?: {
defaultProps: {
closeText?: string;
};
};
MuiPagination?: {
defaultProps: {
'aria-label'?: string;
Expand Down

0 comments on commit 46d8079

Please sign in to comment.