react-prez

0.6.3 • Public • Published

React-Prez

Build Status npm

Make presentations with React and Markdown!

DEMO

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 git@github.com: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)

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

Package Sidebar

Install

npm i react-prez

Weekly Downloads

0

Version

0.6.3

License

MIT

Last publish

Collaborators

  • kamataryo