vrfi-design-system 1.2.40 → 1.2.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -0
- package/dist/main.es.js +10941 -10798
- package/dist/main.umd.js +116 -116
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -343,6 +343,10 @@ declare interface ChatDetailsProps {
|
|
|
343
343
|
onMessageChange: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
344
344
|
onSendMessage: () => void;
|
|
345
345
|
userType: UserType_3;
|
|
346
|
+
onAttachmentClick?: () => void;
|
|
347
|
+
attachmentName?: string;
|
|
348
|
+
attachmentUrl?: string;
|
|
349
|
+
onRemoveAttachment?: () => void;
|
|
346
350
|
}
|
|
347
351
|
|
|
348
352
|
export declare const ChatList: <T extends GenericChatShape>({ chats, onChatClick, selectedChat, userType, }: ChatListProps<T>) => default_2.JSX.Element;
|
|
@@ -815,6 +819,8 @@ declare interface LooseMessage {
|
|
|
815
819
|
createdAt?: string;
|
|
816
820
|
senderId?: number;
|
|
817
821
|
senderDetails?: SenderDetails;
|
|
822
|
+
attachmentName?: string;
|
|
823
|
+
attachmentUrl?: string;
|
|
818
824
|
}
|
|
819
825
|
|
|
820
826
|
export { Menu }
|