import Spinner from './spinner' export default function Loading({ loading, children, }: { loading: boolean children: any }) { return (