Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kamataryo/react-prez


https://github.com/kamataryo/react-prez

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# React-Prez

[![Build Status](https://travis-ci.org/kamataryo/react-prez.svg?branch=master)](https://travis-ci.org/kamataryo/react-prez)
[![npm](https://img.shields.io/npm/v/react-prez.svg)](https://www.npmjs.com/package/react-prez)

Make presentations with React and Markdown!

[DEMO](https://kamataryo.github.io/react-prez/)

### install

```shell
$ npm install react react-dom prop-types --save
$ npm install react-prez --save
```

### usage

```jsx
import React from 'react'
import { render } from 'react-dom'
import { Presentation, Slide } from 'react-prez'

const contents = [
'presentation content0',
'presentation content1',
]

render(



,
document.getElementById('app')
)

```

## development

```shell
$ git clone [email protected]:kamataryo/react-prez.git
$ cd react-prez
$ npm install
$ npm test
$ npm run build
$ npm start
```

## release (for commiters)

```shell
$ npm version patch
```

## WebSocket controller (alpha)

1. Open presentation in both PC and iPhone. (Have not checked with Android yet.)
1. Connect to WebSocket Server, which running `./dist/index.js` on both device.
1. Authenticate with `admin:admin`(default) on both device.
1. Control presentation with your device. Gyro controller is Avairable.