@mirantes-micro/foundation-design-system 1.2.204 → 1.2.207
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 +2 -3
- package/dist/index.js +201 -202
- package/package.json +203 -203
package/dist/index.d.ts
CHANGED
|
@@ -549,7 +549,6 @@ interface IMessageButtonProps$1 {
|
|
|
549
549
|
onClick?: () => void;
|
|
550
550
|
isSharing?: boolean;
|
|
551
551
|
link?: string;
|
|
552
|
-
/** Callback when conversation is created/found - receives conversation ID */
|
|
553
552
|
onConversationReady?: (conversationId: string) => void;
|
|
554
553
|
}
|
|
555
554
|
declare function MessageButton({ user, page, icon, label, className, disabled, onClick: customOnClick, isSharing, link, onConversationReady, }: IMessageButtonProps$1): React__default.JSX.Element;
|
|
@@ -1507,11 +1506,11 @@ interface IMessageButtonProps {
|
|
|
1507
1506
|
className?: string;
|
|
1508
1507
|
disabled?: boolean;
|
|
1509
1508
|
onClick?: () => void;
|
|
1510
|
-
variant?:
|
|
1509
|
+
variant?: 'default' | 'small';
|
|
1511
1510
|
/** Callback when conversation is created/found - receives conversation ID */
|
|
1512
1511
|
onConversationReady?: (conversationId: string) => void;
|
|
1513
1512
|
}
|
|
1514
|
-
declare function MessagesButtonFromPage({ user, label, className, disabled, onClick: customOnClick, variant,
|
|
1513
|
+
declare function MessagesButtonFromPage({ user, label, className, disabled, onClick: customOnClick, variant, }: IMessageButtonProps): React__default.JSX.Element;
|
|
1515
1514
|
|
|
1516
1515
|
declare function useRestorePendingChat(): void;
|
|
1517
1516
|
|