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

react-slidable

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slidable

Simple React component for 'slidable' content (aka carousel).

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
3
-95.59%
Maintainers
1
Weekly downloads
 
Created
Source

react-slidable

Usage

Install react-slidable from npm

npm install react-slidable

In your javascript, require react-slidable and render a Slidable component

var React = require('react'),
    Slidable = require('react-slidable');

React.render(
    <Slidable>
        <div class="slide">
            <h1>1. A title</h1>
            <p>Some text</p>
        </div>
        <div class="slide">
            <h1>2. Another title</h1>
            <p>Another text</p>
        </div>
    </Slidable>,
    document.body
);

Add slidable.css in your

<head>
    <title>...</title>
    <link rel="stylesheet" type="text/css"
          href="node_modules/react-slidable/lib/slidable.css">
</head>

Dev

Clone the repo

git clone git@github.com:dgellow/react-slidable.git
cd react-slidable

Install dependencies

npm install

Build JSX

npm run build

or

npm run watch

Build and run examples

npm run examples

Author

Samuel El-Borai aka dgellow, http://webp.ch

FAQs

Package last updated on 16 Feb 2015

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