Skip to content

Commit f1dafff

Browse files
committed
dont't require children
1 parent 4db1108 commit f1dafff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Masthead/MastheadBrand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { css } from '@patternfly/react-styles';
44

55
export interface MastheadBrandProps extends React.DetailedHTMLProps<React.HTMLProps<HTMLDivElement>, HTMLDivElement> {
66
/** Content rendered inside of the masthead brand. */
7-
children: React.ReactNode;
7+
children?: React.ReactNode;
88
/** Additional classes added to the masthead brand. */
99
className?: string;
1010
}

0 commit comments

Comments
 (0)