update
This commit is contained in:
17
gnx-react/components/shared/layout/LayoutWrapper.tsx
Normal file
17
gnx-react/components/shared/layout/LayoutWrapper.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
"use client";
|
||||
import { ReactNode } from "react";
|
||||
import Preloader from "./Preloader";
|
||||
|
||||
interface LayoutWrapperProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
const LayoutWrapper = ({ children }: LayoutWrapperProps) => {
|
||||
return (
|
||||
<Preloader>
|
||||
{children}
|
||||
</Preloader>
|
||||
);
|
||||
};
|
||||
|
||||
export default LayoutWrapper;
|
||||
Reference in New Issue
Block a user