1.0.0-beta.20 • Published 2 years ago

@antonkolesnik/swiper v1.0.0-beta.20

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Swiper

Lightweight react desktop/mobile swiper

Demo

See demo HERE

Installation

Install with NPM

npm install @antonkolesnik/swiper

Install with Yarn

yarn add @antonkolesnik/swiper

Props:

  • className: CSS class name to style the swiper
  • withPagination (true by default): Enable/disable pagination
  • onSwipeStart
  • onSwipe
  • onSwipeEnd

Usage example

import Swiper from '@antonkolesnik/swiper';

const Demo = () => (
  <div style={{ width: '600px', margin: '0 auto' }}>
    <Swiper className="custom" withPagination>
      <h1 style={{ background: 'black', color: 'white' }}>Slide 1</h1>
      <img src="https://antonkolesnik.com/38df7b2ad210d02fbd81.jpg" />
      <img src="https://antonkolesnik.com/ab52dae85dcb5a8277e8.jpg" />
    </Swiper>
  </div>
);
1.0.0-beta.20

2 years ago

1.0.0-beta.19

2 years ago

1.0.0-beta.17

2 years ago

1.0.0-beta.18

2 years ago

1.0.0-beta.16

2 years ago

1.0.0-beta.15

3 years ago

1.0.0-beta.14

3 years ago

1.0.0-beta.11

3 years ago

1.0.0-beta.12

3 years ago

1.0.0-beta.13

3 years ago

1.0.0-beta.10

3 years ago

1.0.0-beta.9

3 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2.1

3 years ago

1.0.0-beta.2

3 years ago

1.0.0-beta.1

3 years ago

1.0.0-beta.0

3 years ago