propro-common-components 0.0.92 → 0.0.94

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,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare function PrivateRoute({ children, }: {
2
+ export default function PrivateRoute({ children, }: {
3
3
  children: React.ReactNode;
4
4
  }): import("react/jsx-runtime").JSX.Element;
package/dist/main.d.ts CHANGED
@@ -4,4 +4,5 @@ import AppHOC from "./components/AppHOC";
4
4
  import { AppContext, AppProvider } from "./context/AppContext";
5
5
  import Loading from "./components/ui/Loading";
6
6
  import getCookie from "./Utils/getCookie";
7
- export { AvatarMenu, Footer, AppHOC, AppContext, AppProvider, Loading, getCookie, };
7
+ import PrivateRoute from "./hoc/PrivateRoute";
8
+ export { AvatarMenu, Footer, AppHOC, AppContext, AppProvider, Loading, getCookie, PrivateRoute, };