Skip to content

Commit

Permalink
update readme & package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
qti3e committed Dec 29, 2017
1 parent dabc85d commit 090efcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ npm install --save impress.js-react
# Example
```js
import React from 'react'
import Impress, {Step} from 'impress.js-react'
import Impress, {Step, Slide} from 'impress.js-react'
import ReactDOM from 'react-dom'

const Presentation = () => (
<Impress>
<Step x={50} y={300} z={35}>
<Slide x={50} y={300} z={35}>
Hello World
</Step>
</Slide>
<Step x={50} y={30} z={35}>
Test
</Step>
<img x={40} rotateX={45} src='./pic.png' />
</Impress>
)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "impress.js-react",
"version": "0.0.1",
"version": "0.0.3",
"description": "Create Impress presentation with React and JSX",
"main": "build/index.js",
"peerDependencies": {
Expand Down

0 comments on commit 090efcd

Please sign in to comment.