Avatar defaults and colors

This commit is contained in:
Josh Perez
2021-08-05 20:17:05 -04:00
committed by GitHub
parent a001882d58
commit 12d2b1bf7c
140 changed files with 4212 additions and 1084 deletions

View File

@@ -22,12 +22,17 @@ type PropsType = ComponentProps<typeof EditConversationAttributesModal>;
const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
avatarPath: undefined,
conversationId: '123',
i18n,
initiallyFocusDescription: false,
onClose: action('onClose'),
makeRequest: action('onMakeRequest'),
requestState: RequestState.Inactive,
title: 'Bing Bong Group',
deleteAvatarFromDisk: action('deleteAvatarFromDisk'),
replaceAvatar: action('replaceAvatar'),
saveAvatarToDisk: action('saveAvatarToDisk'),
userAvatarData: [],
...overrideProps,
});