@etsoo/react 1.4.95 → 1.4.96
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.
|
@@ -26,8 +26,8 @@ export function BridgeCloseButton(props) {
|
|
|
26
26
|
};
|
|
27
27
|
return (React.createElement(IconButton, { "aria-label": "close", color: "primary", onClick: onClickLocal, sx: {
|
|
28
28
|
position: 'absolute',
|
|
29
|
-
top: (theme) => theme.spacing(
|
|
30
|
-
right: (theme) => theme.spacing(
|
|
29
|
+
top: (theme) => theme.spacing(0.5),
|
|
30
|
+
right: (theme) => theme.spacing(0.5)
|
|
31
31
|
}, ...rest },
|
|
32
32
|
React.createElement(CloseIcon, null)));
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ export interface BridgeCloseButtonProps extends IconButtonProps {
|
|
|
12
12
|
* Validate the host
|
|
13
13
|
* @param host Host
|
|
14
14
|
*/
|
|
15
|
-
validate(host: IBridgeHost): boolean;
|
|
15
|
+
validate?(host: IBridgeHost): boolean;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -51,8 +51,8 @@ export function BridgeCloseButton(props: BridgeCloseButtonProps) {
|
|
|
51
51
|
onClick={onClickLocal}
|
|
52
52
|
sx={{
|
|
53
53
|
position: 'absolute',
|
|
54
|
-
top: (theme) => theme.spacing(
|
|
55
|
-
right: (theme) => theme.spacing(
|
|
54
|
+
top: (theme) => theme.spacing(0.5),
|
|
55
|
+
right: (theme) => theme.spacing(0.5)
|
|
56
56
|
}}
|
|
57
57
|
{...rest}
|
|
58
58
|
>
|