To fix Storybook, make <Message> take renderReactionPicker

This commit is contained in:
Evan Hahn 2021-09-10 13:00:31 -05:00 committed by GitHub
parent 58c18ac420
commit 84ac7dd2df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 53 additions and 14 deletions

View file

@ -176,7 +176,10 @@ type PropsActionsType = MessageActionsType &
export type PropsType = PropsLocalType &
PropsActionsType &
Pick<AllMessageProps, 'renderEmojiPicker' | 'renderAudioAttachment'>;
Pick<
AllMessageProps,
'renderEmojiPicker' | 'renderAudioAttachment' | 'renderReactionPicker'
>;
export class TimelineItem extends React.PureComponent<PropsType> {
public render(): JSX.Element | null {