Group Description: Edit/Receive
This commit is contained in:
parent
e5d365dfc4
commit
9705f464be
29 changed files with 859 additions and 149 deletions
|
@ -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)',
|
||||
})}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue