source code does not work. I get these errors: No overload matches this call. Overload 1 of 2, '(props: SwiperProps | Readonly): Swiper', gave the following error. Type 'MutableRefObject' is not assignable to type 'LegacyRef | undefined'. Type 'MutableRefObject' is not assignable to type 'RefObject'. Types of property 'current' are incompatible. Type 'undefined' is not assignable to type 'Swiper | null'. Overload 2 of 2, '(props: SwiperProps, context: any): Swiper', gave the following error. Type 'MutableRefObject' is not assignable to type 'LegacyRef | undefined'.ts(2769) index.d.ts(127, 9): The expected type comes from property 'ref' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly' index.d.ts(127, 9): The expected type comes from property 'ref' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
amzing ! it help me a lot
source code does not work. I get these errors:
No overload matches this call.
Overload 1 of 2, '(props: SwiperProps | Readonly): Swiper', gave the following error.
Type 'MutableRefObject' is not assignable to type 'LegacyRef | undefined'.
Type 'MutableRefObject' is not assignable to type 'RefObject'.
Types of property 'current' are incompatible.
Type 'undefined' is not assignable to type 'Swiper | null'.
Overload 2 of 2, '(props: SwiperProps, context: any): Swiper', gave the following error.
Type 'MutableRefObject' is not assignable to type 'LegacyRef | undefined'.ts(2769)
index.d.ts(127, 9): The expected type comes from property 'ref' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
index.d.ts(127, 9): The expected type comes from property 'ref' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'
Do a tutorial video for root navigation pls..
I am gonna steal this :menacingEyes: 😉