0.6.3 • Published 8 years ago
react-prez v0.6.3
React-Prez
Make presentations with React and Markdown!
install
$ npm install react react-dom prop-types --save
$ npm install react-prez --saveusage
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 git@github.com:kamataryo/react-prez.git
$ cd react-prez
$ npm install
$ npm test
$ npm run build
$ npm startrelease (for commiters)
$ npm version patchWebSocket controller (alpha)
- Open presentation in both PC and iPhone. (Have not checked with Android yet.)
- Connect to WebSocket Server, which running
./dist/index.json both device. - Authenticate with
admin:admin(default) on both device. - Control presentation with your device. Gyro controller is Avairable.