1.0.0-beta.20 • Published 9 months ago

@antonkolesnik/swiper v1.0.0-beta.20

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months 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

9 months ago

1.0.0-beta.19

9 months ago

1.0.0-beta.17

10 months ago

1.0.0-beta.18

9 months ago

1.0.0-beta.16

1 year ago

1.0.0-beta.15

1 year ago

1.0.0-beta.14

1 year ago

1.0.0-beta.11

2 years ago

1.0.0-beta.12

2 years ago

1.0.0-beta.13

2 years ago

1.0.0-beta.10

2 years ago

1.0.0-beta.9

2 years ago

1.0.0-beta.8

2 years ago

1.0.0-beta.7

2 years ago

1.0.0-beta.6

2 years ago

1.0.0-beta.5

2 years ago

1.0.0-beta.4

2 years ago

1.0.0-beta.3

2 years ago

1.0.0-beta.2.1

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-beta.1

2 years ago

1.0.0-beta.0

2 years ago