/react-ts-slider

an interview assignment of frontend

Primary LanguageTypeScript

slider

An interview assignment of frontend.

tech stack: react+typescript+stylecomponent

usage:

<Carousel slideTime={'1500ms'} autoPlay={false} >
  <div>user page 1</div>
  <div>user page 2</div>
  <div>user page 3</div>
  <div>user page 4</div>
  <div>user page 5</div>
</Carousel>

done:

  • slide
  • autoplay or manually

todo:

  • jest //failed for I can't combine jest+stylecomponent+typescript

screen:

License

under MIT License.