const components = require('idyll-components');
const IdyllDocument = require('idyll-document');
const React = require('react');

class Renderer extends React.PureComponent {
  render() {
    const { idyllMarkup, ast, idyllHash } = this.props;
    return (
      <div className={"renderer"}>
        <div className={"renderer-container"}>
          <IdyllDocument
            ast={ast}
            componentClasses={components}
            key={idyllHash}
            datasets={{}}
          />
        </div>
      </div>
    );
  }
}

module.exports = Renderer;

const components = require('idyll-components');
const IdyllDocument = require('../../idyll-document/src');
const React = require('react');

class Renderer extends React.PureComponent {
  render() {
    const { idyllMarkup, ast, idyllHash } = this.props;
    return (
      <div className={"renderer"}>
        <div className={"renderer-container"}>
          <IdyllDocument
            ast={ast}
            componentClasses={components}
            key={idyllHash}
            datasets={{}}
          />
        </div>
      </div>
    );
  }
}

module.exports = Renderer;

Use relative path until published
Use relative path until published
