I verified there's no existing issue for this bug.
Current behavior
Summary
ebayCarousel will swipe left when first render the component, it will throw type error when there is only one image
Repro steps:
- Implement EbayCarousel
- Put only one EbayCarouselItem component inside
Expect Behaviour:
- Should be able to render
Actual Behaviour:
- Throw type error in the console.
Expected behavior
No response
Package and version
No response
Device/OS/Browser info
No response
Steps to reproduce
Relevant code block
No response
Additional context
No response