Fix storybook

This commit is contained in:
Fedor Indutny 2023-04-03 13:16:27 -07:00 committed by GitHub
parent 950c90f75d
commit 2710f463a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 64 additions and 8 deletions

View file

@ -151,6 +151,7 @@ type PropsLocalType = {
isTargeted: boolean;
targetMessage: (messageId: string, conversationId: string) => unknown;
shouldRenderDateHeader: boolean;
platform: string;
renderContact: SmartContactRendererType<FullJSXType>;
renderUniversalTimerNotification: () => JSX.Element;
i18n: LocalizerType;
@ -188,6 +189,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
isNextItemCallingNotification,
isTargeted,
item,
platform,
renderUniversalTimerNotification,
returnToActiveCall,
targetMessage,
@ -223,6 +225,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
shouldHideMetadata={shouldHideMetadata}
containerElementRef={containerElementRef}
getPreferredBadge={getPreferredBadge}
platform={platform}
i18n={i18n}
theme={theme}
/>