From 45f8afd4e0239d4acc18b918fdfaaa9171f1bcbf Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Thu, 31 Mar 2022 15:14:22 +0200 Subject: [PATCH] fix(system): DropdownMenu children prop type --- .../status-react/src/system/dropdown-menu/dropdown-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/status-react/src/system/dropdown-menu/dropdown-menu.tsx b/packages/status-react/src/system/dropdown-menu/dropdown-menu.tsx index 8eb4808b..9bd1bd82 100644 --- a/packages/status-react/src/system/dropdown-menu/dropdown-menu.tsx +++ b/packages/status-react/src/system/dropdown-menu/dropdown-menu.tsx @@ -31,7 +31,7 @@ const DropdownMenuTrigger = (props: TriggerProps) => { } interface MenuProps extends DropdownMenuContentProps { - children: React.ReactElement[] | React.ReactElement + children: React.ReactNode } const DropdownMenu = (props: MenuProps) => {