No overload matches this call. Overload 1 of 2, '(props: PickerProps<{}> | Readonly<PickerProps<{}>>): Picker<{}>', gave the following error. Type '{ children: any; dropdownIconColor: string; selectedValue: {}; onValueChange: (especialidad: any) => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'. Overload 2 of 2, '(props: PickerProps<{}>, context: any): Picker<{}>', gave the following error. Type '{ children: any; dropdownIconColor: string; selectedValue: {}; onValueChange: (especialidad: any) => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'.
Could it be that its missing the children property on PickerProps interface from Picker.d.ts?
I added children: React.ReactNode[] | React.ReactNode; to solve it. Should I do a pr?
I'm having this msg:
No overload matches this call. Overload 1 of 2, '(props: PickerProps<{}> | Readonly<PickerProps<{}>>): Picker<{}>', gave the following error. Type '{ children: any; dropdownIconColor: string; selectedValue: {}; onValueChange: (especialidad: any) => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'. Overload 2 of 2, '(props: PickerProps<{}>, context: any): Picker<{}>', gave the following error. Type '{ children: any; dropdownIconColor: string; selectedValue: {}; onValueChange: (especialidad: any) => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Picker<{}>> & Readonly<PickerProps<{}>>'.
Could it be that its missing the children property on PickerProps interface from Picker.d.ts?
I added
children: React.ReactNode[] | React.ReactNode;
to solve it. Should I do a pr?