Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gao-sun/react-screen

A different React carousel component.
https://github.com/gao-sun/react-screen

Last synced: 11 days ago
JSON representation

A different React carousel component.

Awesome Lists containing this project

README

        

# react-screen

A lot of boring carousels? Let's try something else!

![Demo](https://gao-sun.github.io/react-screen/image/demo.gif)

Full documentation @[react-screen](http://gao-sun.github.io/react-screen).

### Get Started

1.Install react-screen.
```baseh
# Via npm
npm install react-screen

# Via Bower
bower install react-screen
```

2.Import react & react-screen.
```javascript
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Screen, ScreenSlice } from 'react-screen';
```

3.Import stylesheet.
```javascript
// In jsx
import styles from 'node_modules/react-screen/dist/css/react-screen.css';
```

Or
```html

```

4.Render it!
```javascript
ReactDOM.render((


First Screen




Second Screen




Third Screen




), document.getElementById('react-screen'));
```