Skip to content

Commit

Permalink
chore: simplify React playground
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jan 27, 2022
1 parent 68bcec8 commit ae77d46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
11 changes: 1 addition & 10 deletions playground/react/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Navigation, Pagination, Scrollbar, A11y } from 'swiper';
// eslint-disable-next-line
import { Swiper, SwiperSlide } from 'swiper/react/swiper-react';

import InnerComp from './InnerComp.jsx';

const App = () => {
return (
<main>
Expand All @@ -20,14 +18,7 @@ const App = () => {
scrollbar={{ draggable: true }}
pagination={{ clickable: true }}
>
<SwiperSlide>
<InnerComp>Slide 1</InnerComp>
</SwiperSlide>
{[1, 2, 3, 4, 5].map((v) => (
<SwiperSlide key={v}>
<InnerComp>Slide {v}</InnerComp>
</SwiperSlide>
))}
<SwiperSlide>Slide 1</SwiperSlide>
<SwiperSlide>Slide 2</SwiperSlide>
<SwiperSlide>Slide 3</SwiperSlide>
<SwiperSlide>Slide 4</SwiperSlide>
Expand Down
25 changes: 0 additions & 25 deletions playground/react/InnerComp.jsx

This file was deleted.

0 comments on commit ae77d46

Please sign in to comment.