client/pages/home/index.tsx
2022-04-24 23:12:11 +02:00

23 lines
511 B
TypeScript

import { NextPage } from 'next'
import HomeLayout from '../../components/layout/home/HomeLayout'
import CreateWish from '../../components/domain/wishes/createWish/CreateWish'
const HomePage: NextPage = (props) => {
return (
<HomeLayout page="home">
<div>
<CreateWish
onSubmit={(wish) => {
console.log(wish)
}}
onFocus={() => {
console.log('focused')
}}
/>
</div>
</HomeLayout>
)
}
export default HomePage