Group Description: Edit/Receive

This commit is contained in:
Scott Nonnenberg 2021-06-01 17:24:28 -07:00 committed by GitHub
parent e5d365dfc4
commit 9705f464be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 859 additions and 149 deletions

View file

@ -20,6 +20,7 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
'approvalRequired',
overrideProps.approvalRequired || false
),
groupDescription: overrideProps.groupDescription,
join: action('join'),
onClose: action('onClose'),
i18n,
@ -78,3 +79,18 @@ stories.add('Avatar loading state', () => {
/>
);
});
stories.add('Full', () => {
return (
<GroupV2JoinDialog
{...createProps({
avatar: {
url: '/fixtures/giphy-GVNvOUpeYmI7e.gif',
},
memberCount: 16,
groupDescription: 'Discuss meets, events, training, and recruiting.',
title: 'Underwater basket weavers (LA)',
})}
/>
);
});