> Made with create-react-library
npm install tf-seat-map-view> Made with create-react-library
 
``bash`
npm install --save seat-map-view
`jsx
import React, { Component } from 'react'
import MyComponent from 'seat-map-view'
import 'seat-map-view/dist/index.css'
class Example extends Component {
render() {
return
}
}
`
After manually making changes in JSON file some indexes may be violated, but we need them to be sequential. For not changing all indexes manually simple call normalizer function. Steps to normalize JSON:
- Run node callNormalizer.js..json
- Enter JSON file name without extension. Note that JSON file must be placed in /example/src/assets/map_samples folder.``
node callNormalize.js
Please enter JSON file name: example_normalized
- New JSON file be generated with postfix and placed in map_samples:```
Done!!!
*
Normalized JSON is placed in: /{dirname}/map_samples/example_normalized.json
*
MIT © [](https://github.com/)