toystars / react-native-multiple-select

Simple multi-select component for react-native
MIT License
565 stars 314 forks source link

animate prop not working in latest version #191

Open abdullahrehan430 opened 3 years ago

abdullahrehan430 commented 3 years ago

Issue summary

animate prop not working it shows following error No overload matches this call. Overload 1 of 2, '(props: MultiSelectProps | Readonly): MultiSelect', gave the following error. Type '{ animate: true; items: Tags[]; uniqueKey: string; onSelectedItemsChange: (item: any) => void; selectedItems: never[]; selectText: string; searchInputPlaceholderText: string; onChangeInput: (text: string) => void; ... 12 more ...; submitButtonText: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. Property 'animate' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. Overload 2 of 2, '(props: MultiSelectProps, context: any): MultiSelect', gave the following error. Type '{ animate: true; items: Tags[]; uniqueKey: string; onSelectedItemsChange: (item: any) => void; selectedItems: never[]; selectText: string; searchInputPlaceholderText: string; onChangeInput: (text: string) => void; ... 12 more ...; submitButtonText: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'. Property 'animate' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'

Library versions

Steps to Reproduce

(Write your steps here:)

1. 2. 3.

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Add screenshots!)

Reproducible Code

(Paste exact code snippet and instructions to reproduce the issue.)