From a94f6c9101c2b0dba28055ef9d7e245607c44549 Mon Sep 17 00:00:00 2001 From: Serhii Khoma Date: Sat, 1 Feb 2020 20:18:02 +0200 Subject: [PATCH] [ListItemAvatar] add "children" prop ListItemAvatar should have "children" property as ListItemIcon does --- packages/material-ui/src/ListItemAvatar/ListItemAvatar.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/material-ui/src/ListItemAvatar/ListItemAvatar.d.ts b/packages/material-ui/src/ListItemAvatar/ListItemAvatar.d.ts index 3558c8b92cb98d..ff9c5e6d442591 100644 --- a/packages/material-ui/src/ListItemAvatar/ListItemAvatar.d.ts +++ b/packages/material-ui/src/ListItemAvatar/ListItemAvatar.d.ts @@ -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';