Skip to content

Commit

Permalink
[typescript] Fix Typings for disableTouchRipple and allVariants (#11944)
Browse files Browse the repository at this point in the history
  • Loading branch information
franklixuefei authored and oliviertassinari committed Jun 22, 2018
1 parent 83ee54b commit e221142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/ButtonBase/ButtonBase.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface ButtonBaseProps
centerRipple?: boolean;
component?: React.ReactType<ButtonBaseProps>;
disableRipple?: boolean;
disableTouchRipple?: boolean;
focusRipple?: boolean;
focusVisibleClassName?: string;
onFocusVisible?: React.FocusEventHandler<any>;
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui/src/styles/createTypography.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface FontStyle

export interface FontStyleOptions extends Partial<FontStyle> {
htmlFontSize?: number;
allVariants?: CSSProperties;
}

export type TypographyStyle = Required<
Expand Down

0 comments on commit e221142

Please sign in to comment.