-
Notifications
You must be signed in to change notification settings - Fork 503
Closed
Description
Getting
function(): JSX.Element
No overload matches this call.
Overload 1 of 2, '(props: PickerSelectProps | Readonly<PickerSelectProps>): Picker', gave the following error.
Type '() => JSX.Element' is not assignable to type 'ReactNode'.
Overload 2 of 2, '(props: PickerSelectProps, context: any): Picker', gave the following error.
Type '() => JSX.Element' is not assignable to type 'ReactNode'.ts(2769)
[SelectTime.tsx(116, 18): ]()Did you mean to call this expression?when using like so:
<RNPickerSelect
...
Icon={() => {
return <Ionicons ... />;
}}
/>Any recommendations?
adrianso, ekasbohm, diazdell91, rapolaslisboa, dragonmaster784 and 10 more
Metadata
Metadata
Assignees
Labels
No labels