1.0.8 • Published 4 months ago

before-after-image-slider v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

Before After Image Slider

It is a tool in your React projects that allows you to easily display the before and after states of an image. Its usage is quite simple. By moving the cursor over the image, you can transition between the two images you have specified.

Installation

npm i before-after-image-slider

Example

<div className="w-100>
    <BeforeAfterImage
        beforeImage="Image 1"
        afterImage="Image 2"
    />
</div>

Props

PropTag
beforeImagestring
afterImagestring
1.0.8

4 months ago

1.0.7

4 months ago

1.0.5

4 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago