Websocket clock server web interface written in ReactJS/TypeScript
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 292B

12345678910111213
  1. import * as React from 'react';
  2. import * as ReactDOM from 'react-dom';
  3. import Config from './config.json';
  4. import Clock from './Clock';
  5. import './index.css'
  6. ReactDOM.render(
  7. <React.StrictMode>
  8. <Clock wsurl={Config.WS_URL}/>
  9. </React.StrictMode>,
  10. document.getElementById('root')
  11. );