diff --git a/ts/components/conversation/DeliveryIssueNotification.stories.tsx b/ts/components/conversation/DeliveryIssueNotification.stories.tsx index bbfc1669bb94..3504d8a6093f 100644 --- a/ts/components/conversation/DeliveryIssueNotification.stories.tsx +++ b/ts/components/conversation/DeliveryIssueNotification.stories.tsx @@ -10,33 +10,49 @@ import enMessages from '../../../_locales/en/messages.json'; import { DeliveryIssueNotification } from './DeliveryIssueNotification'; import { getDefaultConversation } from '../../test-both/helpers/getDefaultConversation'; +const story = storiesOf( + 'Components/Conversation/DeliveryIssueNotification', + module +); + const i18n = setupI18n('en', enMessages); const sender = getDefaultConversation(); -storiesOf('Components/Conversation/DeliveryIssueNotification', module).add( - 'Default', - () => { - return ( - - ); - } -); +story.add('Default', () => { + return ( + + ); +}); -storiesOf('Components/Conversation/DeliveryIssueNotification', module).add( - 'In Group', - () => { - return ( - - ); - } -); +story.add('With a long name', () => { + const longName = '🤷🏽‍♀️❤️🐞'.repeat(50); + return ( + + ); +}); + +story.add('In Group', () => { + return ( + + ); +}); diff --git a/ts/components/conversation/DeliveryIssueNotification.tsx b/ts/components/conversation/DeliveryIssueNotification.tsx index ace33a1d2bd3..d047882b4aa1 100644 --- a/ts/components/conversation/DeliveryIssueNotification.tsx +++ b/ts/components/conversation/DeliveryIssueNotification.tsx @@ -49,13 +49,15 @@ export function DeliveryIssueNotification(
- , - }} - i18n={i18n} - /> + + , + }} + i18n={i18n} + /> +