Skip to content

Commit

Permalink
allow for single child
Browse files Browse the repository at this point in the history
  • Loading branch information
hetunandu committed Nov 22, 2024
1 parent f66c3d9 commit e7e38bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Props {
headerText: string;
headerControls?: React.ReactNode;
maxHeight?: string;
children: React.ReactNode[];
children: React.ReactNode | React.ReactNode[];
}

export const ListWithHeader = (props: Props) => {
Expand Down

0 comments on commit e7e38bb

Please sign in to comment.