vigetlabs/react-ink

Render is a bit gnarly

nhunzaker opened this issue · 1 comments

We could do something like:

var Ink = React.createClass({
  // ...
  render() {
    return React.createElement('canvas', {
      ...props,
      ...touchEvents,
      style: { ...STYLE, ...style },
      height: height * density,
      width: width * density,
      onDragOver: this._onRelease
    })
  }

})