This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting: http://json-ld.org/playground#/gist/7f3121380e3e26500a78e63a2c74cdb1
This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting: http://json-ld.org/playground#/gist/7f3121380e3e26500a78e63a2c74cdb1
import React from 'react' | |
import Portal from 'react-portal' | |
class LinkBlock extends React.Component { | |
constructor (props) { | |
super(props) | |
this.state = { | |
href: this.props.node.data.get('href'), | |
showingPopup: false, | |
popup: null, |