title: Flip Image with react-konva
body: <p>With <a href="https://github.com/lavrton/react-konva" rel="nofollow noreferrer">https://github.com/lavrton/react-konva</a></p>
  
  <p>How can I flip an image (horizontally or vertically)
  I am using this function, but it is not working: </p>
  
  <pre><code>  flip = direction =&gt; {
      this.setState({
        width: -this.state.width
      })
    }
  </code></pre>