react-visualizer

The visualizer in a react component

Usage no npm install needed!

<script type="module">
  import reactVisualizer from 'https://cdn.skypack.dev/react-visualizer';
</script>

README

react-visualizer

The Visualizer in a react component

Properties

  • cdn - URL of the CDN that will serve the Visualizer. Default: https://www.lactame.com/visualizer
  • scripts - Array of scripts to load in the iframe before the Visualizer
  • viewURL
  • dataURL
  • config - URL to the config or object
  • version - version to load or auto to select it automatically based on the view. Default: latest
  • style - style object to apply to the iframe. Default: {width: '100%', height: '100%', position: 'absolute', border: 'none'}