1.1.0 • Published 5 years ago
tt-react-component v1.1.0
Overview
This is a reusable React Component for Tech Tracker
Usage
First install into your App
with npm:
/*to install with dependencies*/
npm i tt-react-component classnames react-arcgis react-app-polyfill
Then import and use it in your App
Example:
/*index.html*/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>React App</title>
</head>
<body>
<div id="root"></div>
</body>
</html>
/*index.js*/
import React from 'react';
import ReactDOM from 'react-dom';
import TtReactComponent from 'tt-react-component';
ReactDOM.render(<TtReactComponent/>, document.getElementById('root'));