\n {arrows &&\n showPreviousArrow(\n getProps(this.props),\n this.state.index,\n this.moveSlides\n )}\n
(this.wrapper = ref)}\n >\n
(this.imageContainer = ref)}\n >\n {infinite\n ? this.renderPreceedingSlides(children, slidesToShow)\n : ''}\n {children.map((each, key) => {\n const isSlideActive = this.isSlideActive(key);\n return (\n
\n {each}\n
\n );\n })}\n {this.renderTrailingSlides()}\n
\n
\n {arrows &&\n showNextArrow(\n getProps(this.props),\n this.state.index,\n this.moveSlides\n )}\n
\n {indicators &&\n showIndicators(\n getProps(this.props),\n this.state.index,\n this.goToSlide\n )}\n