@apolitical/component-library 2.1.7 → 3.0.0-4126.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,6 +1,6 @@
1
1
  import { ResponsiveImageType } from '../general';
2
2
  import { MemberProps } from '../user';
3
- export type CardContentType = 'customCard' | 'event' | 'learningHub' | 'listPage' | 'microcourse' | 'people' | 'qaQuestion' | 'solutionArticle';
3
+ export type CardContentType = 'custom' | 'event' | 'learningHub' | 'listPage' | 'microcourse' | 'people' | 'qaQuestion' | 'solutionArticle';
4
4
  export type CustomIconType = 'calendar' | 'cube' | 'document' | 'download' | 'globe' | 'graduationCap' | 'link' | 'person' | 'star' | 'speech';
5
5
  export interface CardCTAType {
6
6
  /** The text to show on the CTA button - different content types have different fallbacks */
@@ -19,7 +19,7 @@ interface Props {
19
19
  /** Functions to handle liking and unliking */
20
20
  functions?: {
21
21
  /** Function to create a like */
22
- createLike?: (args1: object, args2: object) => void;
22
+ createLike?: (args1: object) => void;
23
23
  /** Function to delete a like */
24
24
  deleteLike?: (args: object) => void;
25
25
  };