Skip to content

Commit

Permalink
Remove deprecated type ReactChild
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed Nov 25, 2024
1 parent cdff9b7 commit 7745182
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import React, {
type MouseEvent,
type ReactNode,
type Ref,
type ReactChild,
Children,
useRef,
useReducer,
Expand Down Expand Up @@ -407,7 +406,7 @@ interface MenuProps {
focusTrigger: () => void;
highlightIndex: number;
open: boolean;
children: ReactChild[];
children: ReactNode[];
triggerPosition?: position;
}

Expand Down

0 comments on commit 7745182

Please sign in to comment.