Sha256: 086f7fb03fa672c19045a52129656ac0e96c74405e89933bd9f8d229ff9f46a2

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

import React from 'react';
import ReactDOM from 'react-dom';
import ProxesComponents from 'react-proxes-components/react-proxes-components';
import Form from 'react-jsonschema-form';

if (document.getElementById('react-dashboard')) {
  const elasticsearch_url = document.getElementById('react-dashboard').getAttribute('data-elasticsearch-url');
  ReactDOM.render(
    <ProxesComponents pollInterval="30000" elasticsearch_url={elasticsearch_url}/>,
    document.getElementById('react-dashboard')
  );
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
proxes-0.9.7 src/scripts/app.js