()
| 4663 | } |
| 4664 | |
| 4665 | render() { |
| 4666 | const { activeIndex } = this.state; |
| 4667 | |
| 4668 | const slides = this.items.map((item) => { |
| 4669 | return ( |
| 4670 | <CarouselItem |
| 4671 | onExiting={this.onExiting} |
| 4672 | onExited={this.onExited} |
| 4673 | key={item.src} |
| 4674 | > |
| 4675 | <img src={item.src} alt={item.altText} /> |
| 4676 | <CarouselCaption |
| 4677 | captionText={item.caption} |
| 4678 | captionHeader={item.caption} |
| 4679 | /> |
| 4680 | </CarouselItem> |
| 4681 | ); |
| 4682 | }); |
| 4683 | |
| 4684 | return ( |
| 4685 | <Carousel |
| 4686 | activeIndex={activeIndex} |
| 4687 | next={this.next} |
| 4688 | previous={this.previous} |
| 4689 | > |
| 4690 | <CarouselIndicators |
| 4691 | items={this.items} |
| 4692 | activeIndex={activeIndex} |
| 4693 | onClickHandler={this.goToIndex} |
| 4694 | /> |
| 4695 | {slides} |
| 4696 | <CarouselControl |
| 4697 | direction="prev" |
| 4698 | directionText="Previous" |
| 4699 | onClickHandler={this.previous} |
| 4700 | /> |
| 4701 | <CarouselControl |
| 4702 | direction="next" |
| 4703 | directionText="Next" |
| 4704 | onClickHandler={this.next} |
| 4705 | /> |
| 4706 | </Carousel> |
| 4707 | ); |
| 4708 | } |
| 4709 | } |
| 4710 | |
| 4711 | const Example116 = (props: any) => { |
nothing calls this directly
no outgoing calls
no test coverage detected