mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Avatar defaults and colors
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user