React native ref Property 'ref' does not exist on type 'IntrinsicAttributes &
问题 I am getting the following error but I am not able to figure out how to fix it someone can help me out. Below is also the link on expo with the complete code. Error on <AppIntroSlider /> which is reported by snack expo Example: Type '{ ref: (ref: any) => any; data: { key: string; title: string; text: string; backgroundColor: string; }[]; renderItem: ({ item }: any) => Element; renderPagination: (activeIndex: number) => Element; scrollX: (scrollXList: any) => any; }' is not assignable to type