How can I handle an event to open a window in react js?

I want to open a window after clicking the fshare:

My render() return is like this

<Modal.Footer>
    <img src="/static/img/fshare.png" onClick={this.fbShare} />
    <Button onClick={this.hide}>Close</Button>
</Modal.Footer>

I am creating a function

fbShare: function(event) {

},

And I want to add the following code inside the function that basically opens a new window to share in Facebook:

window.open('https://www.facebook.com/dialog/feed?app_id=xxxxxxxxe='sharer', 'toolbar=0,status=0,width=548,height=325');" target="_parent" href="javascript: void(0)">

But I am confused with how to handle this event.

Source: ReactJs