kiva-protocol-ui-kit 1.0.52 → 1.0.53

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.
@@ -8,8 +8,8 @@ export interface ConsentCardProps {
8
8
  agreement: string;
9
9
  pii: JSX.Element | null;
10
10
  backBtnHandler?: MouseEventHandler<HTMLButtonElement>;
11
- backBtnContent: string;
12
- acceptBtnHandler?: MouseEventHandler<HTMLButtonElement>;
11
+ backBtnContent?: string;
12
+ acceptBtnHandler: MouseEventHandler<HTMLButtonElement>;
13
13
  acceptBtnContent: string;
14
14
  }
15
15
  export declare const ConsentCard: FunctionComponent<ConsentCardProps>;
@@ -17320,8 +17320,6 @@ var ConsentCard = function (prop) {
17320
17320
  React.createElement("span", { className: "consent-body items-center" }, prop.agreement),
17321
17321
  React.createElement("ul", null, lodash.map(prop.pii, function (item) { return React.createElement("li", { className: "pii-list-item" }, item); }))),
17322
17322
  React.createElement("div", { className: "row col-flex" },
17323
- React.createElement("div", { className: "col-sm text-center" },
17324
- React.createElement(Button, { title: prop.backBtnContent, style: "secondary", onClick: prop.backBtnHandler })),
17325
17323
  React.createElement("div", { className: "col-sm text-center" },
17326
17324
  React.createElement(Button, { title: prop.acceptBtnContent, style: "primary", onClick: prop.acceptBtnHandler })))));
17327
17325
  };