import classNames from 'classnames'; import styles from './Page.module.css'; import { Banner, Loading } from 'react-basics'; export default function Page({ className, error, loading, children }) { if (error) { return Something went wrong.; } if (loading) { return ; } return
{children}
; }