From 97148c557a52fdd873d7ce8dc5d19efd8444d4cf Mon Sep 17 00:00:00 2001 From: Titani Date: Fri, 26 Jul 2024 08:43:21 -0400 Subject: [PATCH] dont't require children --- packages/react-core/src/components/Masthead/MastheadBrand.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-core/src/components/Masthead/MastheadBrand.tsx b/packages/react-core/src/components/Masthead/MastheadBrand.tsx index 835030cff38..e255a473298 100644 --- a/packages/react-core/src/components/Masthead/MastheadBrand.tsx +++ b/packages/react-core/src/components/Masthead/MastheadBrand.tsx @@ -4,7 +4,7 @@ import { css } from '@patternfly/react-styles'; export interface MastheadBrandProps extends React.DetailedHTMLProps, HTMLDivElement> { /** Content rendered inside of the masthead brand. */ - children: React.ReactNode; + children?: React.ReactNode; /** Additional classes added to the masthead brand. */ className?: string; }