diff --git a/src/components/LoaderPortal.tsx b/src/components/LoaderPortal.tsx index 2357420..04d9999 100755 --- a/src/components/LoaderPortal.tsx +++ b/src/components/LoaderPortal.tsx @@ -8,7 +8,7 @@ type LoaderPortalProps = HTMLAttributes & { spinnerProps?: HTMLAttributes, } -export const LoaderPortal: React.FC = ({ className, show, fade = true, children, spinnerProps, ...other }) => ( +export const LoaderPortal: React.FC = ({ className = '', show, fade = true, children, spinnerProps, ...other }) => (
{children}
{show && fade &&
}