Skip to content

Commit

Permalink
[Avatar] Add missing 'fallback' AvatarClassKey (mui#18717)
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz authored and oliviertassinari committed Dec 7, 2019
1 parent 94a0fe7 commit a973b2f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/material-ui/src/Avatar/Avatar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ export interface AvatarTypeMap<P = {}, D extends React.ElementType = 'div'> {

declare const Avatar: OverridableComponent<AvatarTypeMap>;

export type AvatarClassKey = 'root' | 'colorDefault' | 'circle' | 'rounded' | 'square' | 'img';
export type AvatarClassKey =
| 'root'
| 'colorDefault'
| 'circle'
| 'rounded'
| 'square'
| 'img'
| 'fallback';

export type AvatarProps<
D extends React.ElementType = AvatarTypeMap['defaultComponent'],
Expand Down

0 comments on commit a973b2f

Please sign in to comment.