Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 6a550a4

Browse files
committed
react-rough@1.0.0-rc-1
1 parent ff666a1 commit 6a550a4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-rough",
3-
"version": "1.0.0-alpha.1",
3+
"version": "1.0.0-rc.1",
44
"description": "React Bindings for Rough.js",
55
"main": "dist/react-rough.js",
66
"module": "dist/react-rough.es.js",

src/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class ReactRough extends Component {
1717
if (children) {
1818
React.Children.map(children, child => {
1919
const type = child.type.name.toLowerCase()
20-
2120
const { points, ...data } = child.props
2221

2322
rc[type](...points, data)
@@ -44,7 +43,7 @@ export const Arc = ({ width, height, points, ...data }) => {
4443
)
4544
}
4645

47-
export const Circle = ({ width, height, onRender, points, ...data }) => {
46+
export const Circle = ({ width, height, points, ...data }) => {
4847
return (
4948
<ReactRough
5049
width={width}

0 commit comments

Comments
 (0)