📜  carousel react - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:26.708000             🧑  作者: Mango

代码示例1
import React from 'react';
import { CarouselProvider, Slider, Slide, ButtonBack, ButtonNext } from 'pure-react-carousel';
import 'pure-react-carousel/dist/react-carousel.es.css';

export default class extends React.Component {
  render() {
    return (
      
        
          I am the first Slide.
          I am the second Slide.
          I am the third Slide.
        
        Back
        Next
      
    );
  }
}