Open
Description
Using @rn-primitives/dropdown-menu^1.1.0
, the following TS error pops up in dropdown-menu.tsx:
Type '{ children: ReactNode | ((state: PressableStateCallbackType) => ReactNode); }' is not assignable to type '{ children?: ReactNode; }'.
Types of property 'children' are incompatible.
Type 'ReactNode | ((state: PressableStateCallbackType) => ReactNode)' is not assignable to type 'ReactNode'.
Type '(state: PressableStateCallbackType) => ReactNode' is not assignable to type 'ReactNode'.ts(2322)