1.4.6 • Published 3 years ago

@evo/swipe-gallery v1.4.6

Weekly downloads
15
License
ISC
Repository
-
Last release
3 years ago

Swipe-gallery

Мобильная галерея

Документацию хорошо бы написать, да

Usage

Пример:

import SwipeGallery from '@evo/swipe-gallery';

const Example = (props) => (
    ...
    <SwipeGallery
        name={name}
        images={imagesUrl}
        imageThumbs={imagesPreviewUrl}
        mainImage={image}
        theme='dark'
        customStyles={{
            bgColor: 'olive',
            detailsColor: 'tomato',
            icons: {
                back: `<svg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'>
                           <path d='M64 28H15.25L37.625 5.625 32 0 0 32l32 32 5.625-5.625L15.25 36H64z' />
                       </svg>`,
            }
        }}
        closeType='back'
        enableFullScreen
        showFullscreenControls
    />
);
1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago