diff --git a/src/components/LoaderPortal.jsx b/src/components/LoaderPortal.jsx
deleted file mode 100644
index c84fc6c..0000000
--- a/src/components/LoaderPortal.jsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import Loader from './Loader'
-
-export default function LoaderPortal({show, fade=true, children}){
- return(
-
-
- {children}
-
- {show && fade &&
}
- {show &&
}
-
)
-}
\ No newline at end of file
diff --git a/src/components/LoaderPortal.tsx b/src/components/LoaderPortal.tsx
new file mode 100644
index 0000000..6fff91d
--- /dev/null
+++ b/src/components/LoaderPortal.tsx
@@ -0,0 +1,18 @@
+import Loader from './Loader'
+
+type LoaderPortalProps = {
+ show?: boolean,
+ fade?: boolean,
+ children: any,
+ [other: string]: any
+}
+
+export const LoaderPortal: React.FC = ({show, fade=true, children, ...other}) => (
+
+
{children}
+ {show && fade &&
+)
+
+export default LoaderPortal