first commit
This commit is contained in:
17
app/components/Header/index.tsx
Normal file
17
app/components/Header/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
"use client";
|
||||
|
||||
import Logo from '@/components/Header/Logo';
|
||||
import Menu from '@/components/Header/Menu';
|
||||
|
||||
|
||||
|
||||
export default function Header(props: any) {
|
||||
return (
|
||||
<header>
|
||||
{props.name} {props.age} {props.isMan ? 'is a man' : 'is a woman'}
|
||||
<Logo />
|
||||
<div>Header item</div>
|
||||
<Menu {...props} />
|
||||
</header>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user