How can I turn Swiper on/off based on viewport width (React)?

后端 未结 0 1934
南旧
南旧 2020-11-28 02:31

I want the block to have a slider on small viewports, but not on large viewports (992+).

I made an example of how I am using Swiper in React: https://codesandbox.io/s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题