@mycause/ui 0.0.3-c2b0afe2 → 0.0.3-c548b987

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,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  export interface CampaignOfMonthProps {
3
3
  className?: string;
4
4
  title?: string;
@@ -8,6 +8,7 @@ export interface CampaignOfMonthProps {
8
8
  donation?: number;
9
9
  goal?: number;
10
10
  btnText?: string;
11
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
11
12
  }
12
- declare const CampaignOfMonth: ({ className, title, description, imageUrl, rised, donation, goal, btnText, }: CampaignOfMonthProps) => JSX.Element;
13
+ declare const CampaignOfMonth: ({ className, title, description, imageUrl, rised, donation, goal, btnText, onClick, }: CampaignOfMonthProps) => JSX.Element;
13
14
  export default CampaignOfMonth;
@@ -3,7 +3,7 @@ import CenterDecorator from "../../utils/center-decorator";
3
3
  declare const _default: {
4
4
  title: string;
5
5
  decorators: (typeof CenterDecorator)[];
6
- component: ({ className, title, description, imageUrl, rised, donation, goal, btnText, }: import("./campaign-of-month").CampaignOfMonthProps) => JSX.Element;
6
+ component: ({ className, title, description, imageUrl, rised, donation, goal, btnText, onClick, }: import("./campaign-of-month").CampaignOfMonthProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const campaignofmonth: {