How to use the @tanker/client-browser.Tanker.version function in @tanker/client-browser

To help you get started, we’ve selected a few @tanker/client-browser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TankerHQ / quickstart-examples / client / web / notepad / src / index.js View on Github external
import 'core-js/stable';
import 'regenerator-runtime/runtime';
import '@babel/register';

import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter } from 'react-router-dom';
import { Tanker } from '@tanker/client-browser';

import Session from './Session';
import App from './components/App';

const session = new Session();

/* eslint-disable-next-line */
console.log(`Tanker version: ${Tanker.version}`);

ReactDOM.render(
  
    
  ,
  document.getElementById('root'),
);