(imageBubble) Add redirect on image click option

Closes #448
This commit is contained in:
Baptiste Arnaud
2023-04-07 11:30:54 +02:00
parent ee14228ee3
commit e06f8186f6
7 changed files with 121 additions and 26 deletions

View File

@@ -37,7 +37,7 @@ export const HostBubble = (props: Props) => {
</Match>
<Match when={props.message.type === BubbleBlockType.IMAGE}>
<ImageBubble
url={(props.message.content as ImageBubbleContent).url}
content={props.message.content as ImageBubbleContent}
onTransitionEnd={onTransitionEnd}
/>
</Match>