Fix missing children
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
import { FC, ReactElement } from 'react'
|
||||
import { FC, ReactElement, ReactNode } from 'react'
|
||||
import { inspect } from 'util'
|
||||
import styles from './HomeLayout.module.scss'
|
||||
|
||||
interface HomeLayoutProps {
|
||||
page: string
|
||||
children?: ReactNode
|
||||
}
|
||||
const HomeLayout: FC<HomeLayoutProps> = (props) => {
|
||||
return (
|
||||
<div className="bg-pink-50 min-h-screen">
|
||||
<div className="min-h-screen bg-pink-50">
|
||||
<div className={styles.root + ' space-x-6 pt-14'}>
|
||||
<h1 className="text-2xl space-x-2 transition-all">
|
||||
<h1 className="space-x-2 text-2xl transition-all">
|
||||
<span>Wishes</span>
|
||||
<span>/</span>
|
||||
<span>{props.page}</span>
|
||||
|
Reference in New Issue
Block a user