From 6a8fb50b0efd053c6daac7b8ec474ae21c5a344b Mon Sep 17 00:00:00 2001 From: Florian BOUILLON Date: Wed, 31 Mar 2021 09:54:20 +0200 Subject: [PATCH] Made Logo optionnal Signed-off-by: Florian BOUILLON --- src/dzeio/Navbar/index.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/dzeio/Navbar/index.tsx b/src/dzeio/Navbar/index.tsx index 26d0031..f6d9646 100644 --- a/src/dzeio/Navbar/index.tsx +++ b/src/dzeio/Navbar/index.tsx @@ -21,7 +21,7 @@ interface Props { /** * Logo to display */ - logo: ImageProps & {height: number, width: number} + logo?: ImageProps & {height: number, width: number} /** * Login URL */ @@ -82,7 +82,7 @@ interface State { /** * Navbar/Sidebar Component - * @version 1.0.0 + * @version 1.0.1 */ export default class Navbar extends React.Component { @@ -164,11 +164,13 @@ export default class Navbar extends React.Component { <>