@apolitical/component-library 5.3.7-jc.0 → 5.3.7-jc.3
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.
|
@@ -13,5 +13,5 @@ export interface ILikesModalProps extends ILikesFeedProps {
|
|
|
13
13
|
/** Additional classes */
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const LikesModal: ({ showModal,
|
|
16
|
+
declare const LikesModal: ({ showModal, functions: { onClose, likes: likesFns }, likeCount, className, ...rest }: ILikesModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default LikesModal;
|
|
@@ -37,7 +37,7 @@ interface Props {
|
|
|
37
37
|
/** The language to use for the text */
|
|
38
38
|
locale?: string;
|
|
39
39
|
}
|
|
40
|
-
declare const Likes: ({ element, likes, peopleWhoLiked, isShort, userLiked, content, canLike,
|
|
40
|
+
declare const Likes: ({ element, likes, peopleWhoLiked, isShort, userLiked, content, canLike, functions: { createLike, deleteLike, listLikes, }, ...likesModalProps }: Props) => React.DetailedReactHTMLElement<{
|
|
41
41
|
className: string;
|
|
42
42
|
onKeyDown: (e: React.KeyboardEvent<HTMLElement>) => void;
|
|
43
43
|
onMouseEnter: () => void;
|