@orderly.network/ui-scaffold 2.3.1 → 2.3.2
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/dist/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -110,6 +110,16 @@ type MainNavWidgetProps = PropsWithChildren<{
|
|
|
110
110
|
name: string;
|
|
111
111
|
scope?: string;
|
|
112
112
|
}) => void;
|
|
113
|
+
/** only works on mobile */
|
|
114
|
+
customRender?: (components: {
|
|
115
|
+
title?: ReactNode;
|
|
116
|
+
languageSwitcher?: ReactNode;
|
|
117
|
+
scanQRCode?: ReactNode;
|
|
118
|
+
subAccount?: ReactNode;
|
|
119
|
+
linkDevice?: ReactNode;
|
|
120
|
+
chainMenu?: ReactNode;
|
|
121
|
+
walletConnect?: ReactNode;
|
|
122
|
+
}) => ReactNode;
|
|
113
123
|
}> & Pick<MainNavProps, "classNames">;
|
|
114
124
|
declare const MainNavWidget: (props: MainNavWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
115
125
|
|
package/dist/index.d.ts
CHANGED
|
@@ -110,6 +110,16 @@ type MainNavWidgetProps = PropsWithChildren<{
|
|
|
110
110
|
name: string;
|
|
111
111
|
scope?: string;
|
|
112
112
|
}) => void;
|
|
113
|
+
/** only works on mobile */
|
|
114
|
+
customRender?: (components: {
|
|
115
|
+
title?: ReactNode;
|
|
116
|
+
languageSwitcher?: ReactNode;
|
|
117
|
+
scanQRCode?: ReactNode;
|
|
118
|
+
subAccount?: ReactNode;
|
|
119
|
+
linkDevice?: ReactNode;
|
|
120
|
+
chainMenu?: ReactNode;
|
|
121
|
+
walletConnect?: ReactNode;
|
|
122
|
+
}) => ReactNode;
|
|
113
123
|
}> & Pick<MainNavProps, "classNames">;
|
|
114
124
|
declare const MainNavWidget: (props: MainNavWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
115
125
|
|