Backstage React text field component
$ npm install backstage-text-field --save
Clone the project to your local machine, go to the root dir and run:
$ npm i
$ npm run demo
You should see Listening at localhost:8080
in your terminal. Open a browser
window and check http://localhost:8080/demo
.
import React from 'react';
import { render } from 'react-dom';
import TextField from 'backstage-text-field';
render(<TextField label='Input some data' />, document.getElementById('container'));