New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

thumbnail-slide-react

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thumbnail-slide-react

thumbnail-slide in React

latest
Source
npmnpm
Version
1.0.27
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Install

Install with NPM

npm i thumbnail-slide-react --save

Install with yarn

yarn add thumbnail-slide-react

Usage

Only the class thumbnail-slide-react is mandatory to apply proper default styles:

import ThumbnailSlider from "thumbnail-slide-react";
import { Icon } from "antd";

<main className="mainOne">
  <div className="standard-product-page-main">
    <div className="standard-product-container">
      <ThumbnailSlider
        images={images}
        direction="horizontal || vertical"
        isTouch="true"
        numberOfThumpImage={5}
        gapBetweenThumbnail={30}
        isButtom={false}
        previousIcon={<Icon type="left" className="arrow" />}
        nextIcon={<Icon type="right" className="arrow" />}
        zoomInIcon={<Icon type="zoom-in" className="arrow" />}
        zoomOutIcon={<Icon type="zoom-out" className="arrow" />}
      />
    </div>
  </div>
</main>;
.mainOne {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: calc(100% - 32px);
}

.standard-product-page-main {
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  position: relative;
  margin-top: 0;
}

.standard-product-container {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  flex-direction: column;
  -webkit-box-pack: justify;
}

License

The code and the documentation are released under the MIT License.

FAQs

Package last updated on 14 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts