@insforge/react 0.5.3 → 0.5.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.
- package/dist/atoms.cjs +4 -1
- package/dist/atoms.cjs.map +1 -1
- package/dist/atoms.js +4 -1
- package/dist/atoms.js.map +1 -1
- package/dist/components.cjs +4 -1
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +4 -1
- package/dist/components.js.map +1 -1
- package/dist/forms.cjs +4 -1
- package/dist/forms.cjs.map +1 -1
- package/dist/forms.js +4 -1
- package/dist/forms.js.map +1 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/navigation.cjs +4 -1
- package/dist/navigation.cjs.map +1 -1
- package/dist/navigation.js +4 -1
- package/dist/navigation.js.map +1 -1
- package/package.json +1 -1
package/dist/forms.cjs
CHANGED
|
@@ -107,7 +107,10 @@ var NavigationContext = react.createContext(null);
|
|
|
107
107
|
function useNavigationAdapter() {
|
|
108
108
|
const adapter = react.useContext(NavigationContext);
|
|
109
109
|
if (!adapter) {
|
|
110
|
-
|
|
110
|
+
return {
|
|
111
|
+
useSearchParams: () => new URLSearchParams(),
|
|
112
|
+
Link: ({ href, children }) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, children })
|
|
113
|
+
};
|
|
111
114
|
}
|
|
112
115
|
return adapter;
|
|
113
116
|
}
|