@apolitical/component-library 9.0.0-beta.2 → 9.0.0-pla.0

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.
@@ -1,5 +1,5 @@
1
+ import { type JSX } from 'react';
1
2
  import { IDiscussionFormFunctions } from '../../../../../discussion/shared';
2
- import type { JSX } from "react";
3
3
  interface Props {
4
4
  /** Whether the user is a member of the community */
5
5
  isMember: boolean;
@@ -1,4 +1,4 @@
1
- import type { JSX } from "react";
1
+ import { type JSX } from 'react';
2
2
  interface Props {
3
3
  /** Whether there is a next page */
4
4
  hasNextPage: boolean;
@@ -1,7 +1,7 @@
1
+ import { type JSX } from 'react';
1
2
  import { ILikesFeedQueryFns } from '../../../../../discussion/feeds/likes-feed';
2
3
  import { DiscussionType, type IDiscussionFormFns } from '../../../../../discussion/shared';
3
4
  import type { IParsedReplies, IQueryFns } from '../../cache';
4
- import type { JSX } from "react";
5
5
  interface IMutations {
6
6
  edit: (params: {
7
7
  replyId: string;
@@ -3,7 +3,8 @@ export declare const getLocalisedActivityContent: ({ payload, locale, }: {
3
3
  payload: IActivity['payload']['data'];
4
4
  locale: ELocale;
5
5
  }) => string;
6
- export declare const getLocalisedReactionContent: ({ payload, locale, }: {
6
+ export declare const getLocalisedReactionContent: ({ payload, currentLocale, originalLocale, }: {
7
7
  payload: IActivity['payload']['data'];
8
- locale: ELocale;
8
+ currentLocale: ELocale;
9
+ originalLocale: ELocale;
9
10
  }) => string;