|
@@ -8,7 +8,7 @@ type NavbarProps = {
|
|
|
label: string,
|
|
label: string,
|
|
|
onClick: () => void,
|
|
onClick: () => void,
|
|
|
}[],
|
|
}[],
|
|
|
- children?: ReactElement[],
|
|
|
|
|
|
|
+ children?: ReactElement | ReactElement[],
|
|
|
contentClassName?: string,
|
|
contentClassName?: string,
|
|
|
}
|
|
}
|
|
|
export default function Navbar(props: NavbarProps){
|
|
export default function Navbar(props: NavbarProps){
|