react-images icon indicating copy to clipboard operation
react-images copied to clipboard

showNavigationOnTouchDevice is not part of the type for CarouselProps

Open BrendanHart opened this issue 5 years ago • 2 comments

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; }'.

BrendanHart avatar Jun 03 '20 21:06 BrendanHart

showNavigationOnTouchDevice doesn't do anything for me even when I ignore the Typescript error (using @ts-ignore). Does it work for you?

ardalann avatar Jun 17 '20 00:06 ardalann

@ardalann - I didn't notice a difference when I tried it either, but didn't investigate deeply enough to confirm.

BrendanHart avatar Jun 22 '20 14:06 BrendanHart