New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@c8s/slider

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@c8s/slider

[![github](https://badgen.net/badge//nju33,c8s/000?icon=github&list=1)](https://github.com/nju33/c8s/tree/master/components/slider) [![npm:version](https://badgen.net/npm/v/@c8s/slider?icon=npm&label=)](https://www.npmjs.com/package/@c8s/slider) [![typesc

0.0.7
latest
npm
Version published
Maintainers
2
Created
Source

@c8s/slider

github npm:version typescript license browserslist code style:prettier

Usage

/**
 * As to prepare of using the `Slider`
 * 
 * ```sh
 * yarn add @c8s/slider @c8s/theme react @types/react styled-components @types/styled-components
 * ```
 */
import Slider from '@c8s/slider';
import {Theme, theme} from '@c8s/theme';

Example

() => (
  <Theme theme={theme}>
    {/* ... */}
      <Slider
        items={[
          {
            image: 'https://via.placeholder.com/600x480',
            text: 'Lorem ipsum dolor1',
          },
          {
            image: 'https://via.placeholder.com/500x480',
            text: 'Lorem ipsum dolor2',
          },
          {
            image: 'https://via.placeholder.com/700x480',
            text: 'Lorem ipsum dolor3',
          },
        ]}
      /> 
    {/* ... */}
  </Theme>
);

Contributors

Thanks goes to these wonderful people (emoji key):



📖

Aki-Japan

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Package last updated on 22 Jan 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