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
|
@ -14,6 +14,8 @@ const i18n = setupI18n('en', enMessages);
|
|||
|
||||
type GroupNotificationStory = [string, Array<Props>];
|
||||
|
||||
const longName = '🍷🐓🥶'.repeat(50);
|
||||
|
||||
const stories: Array<GroupNotificationStory> = [
|
||||
[
|
||||
'Combo',
|
||||
|
@ -390,6 +392,24 @@ const stories: Array<GroupNotificationStory> = [
|
|||
},
|
||||
],
|
||||
],
|
||||
[
|
||||
'Long name',
|
||||
[
|
||||
{
|
||||
from: {
|
||||
title: longName,
|
||||
name: longName,
|
||||
phoneNumber: '(202) 555-1000',
|
||||
},
|
||||
changes: [
|
||||
{
|
||||
type: 'general',
|
||||
},
|
||||
],
|
||||
i18n,
|
||||
},
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
book.add('GroupNotification', () =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue