+
0}>
+
+
+ attachment.type.startsWith('image')
+ )}
+ >
+ {(attachment, idx) => (
+
+ attachment.type.startsWith('image')
+ ).length > 1 && 'max-w-[90%]'
+ )}
+ onClick={() => setClickedImageSrc(attachment.url)}
+ />
+ )}
+
+
+
+ !attachment.type.startsWith('image')
+ )}
+ >
+ {(attachment) => (
+
+ )}
+
+
+
+
+
+
+ {props.answer.label ?? props.answer.value}
+
+
+
setClickedImageSrc(undefined)}
@@ -97,9 +121,19 @@ export const GuestBubble = (props: Props) => {
style={{ 'border-radius': '6px' }}
/>
-
-
-
+
+ )
+}
+
+const AudioGuestBubble = (props: { answer: RecordingInputSubmitContent }) => {
+ return (
+