tf-seat-map-view

9.4.7-beta.35 • Public • Published

seat-map-view

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save seat-map-view

Usage

import React, { Component } from 'react'

import MyComponent from 'seat-map-view'
import 'seat-map-view/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

Normalize JSON

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.
  • Enter JSON file name without .json extension. Note that JSON file must be placed in /example/src/assets/map_samples folder.
node callNormalize.js
Please enter JSON file name: example
  • New JSON file be generated with _normalized postfix and placed in map_samples:
Done!!! 
***
Normalized JSON is placed in: /{dirname}/map_samples/example_normalized.json
***

License

MIT ©

Readme

Keywords

none

Package Sidebar

Install

npm i tf-seat-map-view

Weekly Downloads

22

Version

9.4.7-beta.35

License

none

Unpacked Size

14.5 MB

Total Files

121

Last publish

Collaborators

  • theticketfairy