react-images
react-images copied to clipboard
showNavigationOnTouchDevice is not part of the type for CarouselProps
Steps to reproduce the behavior:
Attempt to set the value for showNavigationOnTouchDevice in a TypeScript file, which is stated to exist in https://jossmac.github.io/react-images
Expected behavior: The file compiles and the value can be set.
Actual behavior: The file fails to compile:
Property 'showNavigationOnTouchDevice' does not exist on type 'IntrinsicAttributes & CarouselProps & { children?: ReactNode; }'.
showNavigationOnTouchDevice doesn't do anything for me even when I ignore the Typescript error (using @ts-ignore). Does it work for you?
@ardalann - I didn't notice a difference when I tried it either, but didn't investigate deeply enough to confirm.