wishlist-client/pages/home/index.tsx

23 lines
511 B
TypeScript
Raw Normal View History

2022-04-24 23:12:11 +02:00
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