Skip to content

Commit

Permalink
fix: adjust post-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela committed May 21, 2024
1 parent f08a7db commit b3e3bee
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 331 deletions.
10 changes: 9 additions & 1 deletion src/components/Attachment/AttachmentContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import { Card as DefaultCard } from './Card';
import { FileAttachment as DefaultFile } from './FileAttachment';
import { UnsupportedAttachment as DefaultUnsupportedAttachment } from './UnsupportedAttachment';
import {
AttachmentContainerProps,
AttachmentComponentType,
GalleryAttachment,
isGalleryAttachmentType,
isSvgAttachment,
RenderAttachmentProps,
Expand All @@ -26,7 +27,14 @@ import type {
ImageAttachmentConfiguration,
VideoAttachmentConfiguration,
} from '../../types/types';
import type { Attachment } from '../../../../stream-chat-js';

Check failure on line 30 in src/components/Attachment/AttachmentContainer.tsx

View workflow job for this annotation

GitHub Actions / Test with Node 16

Cannot find module '../../../../stream-chat-js' or its corresponding type declarations.

Check failure on line 30 in src/components/Attachment/AttachmentContainer.tsx

View workflow job for this annotation

GitHub Actions / Test with Node 18

Cannot find module '../../../../stream-chat-js' or its corresponding type declarations.

export type AttachmentContainerProps<
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics
> = {
attachment: Attachment<StreamChatGenerics> | GalleryAttachment<StreamChatGenerics>;
componentType: AttachmentComponentType;
};
export const AttachmentWithinContainer = <
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics
>({
Expand Down
288 changes: 0 additions & 288 deletions src/components/MessageInput/AttachmentPreviewList.tsx

This file was deleted.

Loading

0 comments on commit b3e3bee

Please sign in to comment.