react-prez
v0.6.3
Published
Presentation with react
Downloads
4
Maintainers
Readme
React-Prez
Make presentations with React and Markdown!
install
$ npm install react react-dom prop-types --save
$ npm install react-prez --save
usage
import React from 'react'
import { render } from 'react-dom'
import { Presentation, Slide } from 'react-prez'
const contents = [
'presentation content0',
'presentation content1',
]
render(
<Presentation>
<Slide content={ contents[0] } />
<Slide content={ contents[1] } />
</Presentation>,
document.getElementById('app')
)
development
$ git clone [email protected]:kamataryo/react-prez.git
$ cd react-prez
$ npm install
$ npm test
$ npm run build
$ npm start
release (for commiters)
$ npm version patch
WebSocket controller (alpha)
- Open presentation in both PC and iPhone. (Have not checked with Android yet.)
- Connect to WebSocket Server, which running
./dist/index.js
on both device. - Authenticate with
admin:admin
(default) on both device. - Control presentation with your device. Gyro controller is Avairable.