@tender-cash/agent-sdk-react 0.3.3 → 0.3.5

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,8 +1,9 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { FormFooterProps, FormHeaderProps } from '../types';
3
- declare const FormFooter: ({ children }: FormFooterProps) => import("react/jsx-runtime").JSX.Element;
4
- declare const FormHeader: ({ title, description, icon }: FormHeaderProps) => import("react/jsx-runtime").JSX.Element;
5
- declare const FormBody: ({ children }: {
3
+ declare const FormFooter: ({ children, className }: FormFooterProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FormHeader: ({ title, description, icon, className, isInfo }: FormHeaderProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const FormBody: ({ children, className, }: {
6
6
  children: ReactNode;
7
+ className?: string;
7
8
  }) => import("react/jsx-runtime").JSX.Element;
8
9
  export { FormFooter, FormHeader, FormBody };
@@ -1,5 +1,11 @@
1
- declare const InfoScreen: ({ title, message }: {
1
+ declare const InfoScreen: ({ title, message, dataToView, }: {
2
2
  title?: string;
3
3
  message?: string;
4
+ dataToView?: {
5
+ network: string;
6
+ coin: string;
7
+ amount: string;
8
+ address: string;
9
+ };
4
10
  }) => import("react/jsx-runtime").JSX.Element;
5
11
  export default InfoScreen;
@@ -44,9 +44,12 @@ interface FormHeaderProps {
44
44
  title: string;
45
45
  description: string;
46
46
  icon?: string;
47
+ className?: string;
48
+ isInfo?: boolean;
47
49
  }
48
50
  interface FormFooterProps {
49
51
  children: ReactNode;
52
+ className?: string;
50
53
  }
51
54
  interface IPaymentData {
52
55
  id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tender-cash/agent-sdk-react",
3
3
  "license": "MIT",
4
- "version": "0.3.3",
4
+ "version": "0.3.5",
5
5
  "repository": "git://github.com/tender-cash/agent-sdk-react.git",
6
6
  "description": "",
7
7
  "author": "Tender",