Skip to content

Commit

Permalink
[ListItemAvatar] add "children" prop
Browse files Browse the repository at this point in the history
ListItemAvatar should have "children" property as ListItemIcon does
  • Loading branch information
srghma committed Feb 1, 2020
1 parent 39c8170 commit a94f6c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/material-ui/src/ListItemAvatar/ListItemAvatar.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { StandardProps } from '..';

export interface ListItemAvatarProps extends StandardProps<{}, ListItemAvatarClassKey> {}
export interface ListItemAvatarProps extends StandardProps<{}, ListItemAvatarClassKey> {
children: React.ReactElement;
}

export type ListItemAvatarClassKey = 'root' | 'icon';

Expand Down

0 comments on commit a94f6c9

Please sign in to comment.