Closed dat0825 closed 1 year ago
StackedCarouselSlideProps
is the typescript interface that contains all the fields that will be passed to your slide component. You need to use typescript, and const Slide = React.memo(function (props: StackedCarouselSlideProps) {return null})
Should work
I read document, but i don't understand what is
StackedCarouselSlideProps
? and how to use it? I thinkconst Slide = React.memo(function (props: StackedCarouselSlideProps)
is failed syntax in reactjs