Add stories for timeline notifications with long names
This commit is contained in:
parent
5bf3720d1d
commit
ddc591e962
5 changed files with 86 additions and 1 deletions
|
@ -74,6 +74,25 @@ const getCommonProps = () => ({
|
|||
));
|
||||
});
|
||||
|
||||
story.add('Group call: started by someone with a long name', () => {
|
||||
const longName = '😤🪐🦆'.repeat(50);
|
||||
|
||||
return (
|
||||
<CallingNotification
|
||||
{...getCommonProps()}
|
||||
callMode={CallMode.Group}
|
||||
creator={{
|
||||
isMe: false,
|
||||
title: longName,
|
||||
}}
|
||||
deviceCount={15}
|
||||
ended={false}
|
||||
maxDevices={16}
|
||||
startedTime={1618894800000}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
story.add('Group call: active, call full', () => (
|
||||
<CallingNotification
|
||||
{...getCommonProps()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue