Tatiana Inama 7 лет назад
Родитель
Сommit
9c954f287e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      recipes/src/components/Navbar/index.tsx

+ 1 - 1
recipes/src/components/Navbar/index.tsx

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