From 1ea2ec777263c9243f8016a3e33f1d99f5b25801 Mon Sep 17 00:00:00 2001 From: Felix Habib Date: Mon, 25 Nov 2024 15:49:06 +1100 Subject: [PATCH] Remove deprecated type `ReactChild` --- .../src/lib/components/MenuRenderer/MenuRenderer.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/braid-design-system/src/lib/components/MenuRenderer/MenuRenderer.tsx b/packages/braid-design-system/src/lib/components/MenuRenderer/MenuRenderer.tsx index f82eca13818..ede96848ca4 100644 --- a/packages/braid-design-system/src/lib/components/MenuRenderer/MenuRenderer.tsx +++ b/packages/braid-design-system/src/lib/components/MenuRenderer/MenuRenderer.tsx @@ -4,7 +4,6 @@ import React, { type MouseEvent, type ReactNode, type Ref, - type ReactChild, Children, useRef, useReducer, @@ -407,7 +406,7 @@ interface MenuProps { focusTrigger: () => void; highlightIndex: number; open: boolean; - children: ReactChild[]; + children: ReactNode[]; triggerPosition?: position; }