@crossmint/client-sdk-react-ui 0.2.7-alpha.6 → 0.2.7-alpha.7

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.
package/src/types.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { CSSProperties, MouseEvent } from "react";
2
- import { CrossmintPayButtonProps, BaseButtonProps } from "@crossmint/client-sdk-base";
3
-
4
- export interface CrossmintPayButtonReactProps extends CrossmintPayButtonProps {
5
- onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
6
- style?: CSSProperties;
7
- }
8
-
9
- export interface CrossmintStatusButtonReactProps extends BaseButtonProps {
10
- onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
11
- style?: CSSProperties;
12
- }
1
+ import { CSSProperties, MouseEvent } from "react";
2
+ import { CrossmintPayButtonProps, BaseButtonProps } from "@crossmint/client-sdk-base";
3
+
4
+ export interface CrossmintPayButtonReactProps extends CrossmintPayButtonProps {
5
+ onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
6
+ style?: CSSProperties;
7
+ }
8
+
9
+ export interface CrossmintStatusButtonReactProps extends BaseButtonProps {
10
+ onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
11
+ style?: CSSProperties;
12
+ }
@@ -1,10 +1,10 @@
1
- import { useEffect, useState } from "react";
2
-
3
- export default function useEnvironment() {
4
- const [isServerSideRendering, setIsServerSideRendering] = useState(true);
5
- useEffect(() => {
6
- setIsServerSideRendering(false);
7
- }, []);
8
-
9
- return { isServerSideRendering };
10
- }
1
+ import { useEffect, useState } from "react";
2
+
3
+ export default function useEnvironment() {
4
+ const [isServerSideRendering, setIsServerSideRendering] = useState(true);
5
+ useEffect(() => {
6
+ setIsServerSideRendering(false);
7
+ }, []);
8
+
9
+ return { isServerSideRendering };
10
+ }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const LIB_VERSION = "0.2.7-alpha.6";
1
+ export const LIB_VERSION = "0.2.7-alpha.7";