You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The handler function to call when an action is performed on an attachment, examples include canceling a \/giphy command or shuffling the results. */
59
63
actionHandler?: ActionHandlerReturnType;
60
64
/** Custom UI component for displaying attachment actions, defaults to and accepts same props as: [AttachmentActions](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Attachment/AttachmentActions.tsx) */
@@ -67,6 +71,7 @@ export type AttachmentProps = {
67
71
File?: React.ComponentType<FileAttachmentProps>;
68
72
/** Custom UI component for displaying a gallery of image type attachments, defaults to and accepts same props as: [Gallery](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Gallery/Gallery.tsx) */
/** Custom UI component for displaying an image type attachment, defaults to and accepts same props as: [Image](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Gallery/Image.tsx) */
71
76
Image?: React.ComponentType<ImageProps>;
72
77
/** Optional flag to signal that an attachment is a displayed as a part of a quoted message */
0 commit comments