import React, { ReactNode } from 'react' const Loader:React.FC<{ children: ReactNode, loading: boolean }> = ({ children, loading }) => { return (