title: TypeError: Cannot read property 'height' of undefined when using Chart-Race-React
body: <p>I have created a new React project with command <code>npx create-react-app my-app</code> and installed the package <a href="https://github.com/Mckinsey666/chart-race-react" rel="nofollow noreferrer"><code>chart-race-react</code></a> with <code>npm install --save chart-race-react</code> but when I run npm start i get the error: <code>TypeError: Cannot read property 'height' of undefined:</code></p>
  
  <pre><code>  13 | class BarChart extends React.Component {
    14 |     constructor(props){
    15 |         super(props);
  &gt; 16 |         this.barHeight = `calc(${props.barStyle.height} + ${props.barStyle.marginTop})`;
    17 |         this.nItmes = Object.keys(this.props.data).length;
    18 |         this.maxItems = props.maxItems &lt;= this.nItmes ? props.maxItems : this.nItmes;
    19 |         this.barChartStyle = {
  </code></pre>
  
  <p>this is my code:</p>
  
  <pre><code>import React from 'react';
  import logo from './logo.svg';
  import BarChart from 'chart-race-react';
  
  import './App.css';
  
  function App() {
    return (
      &lt;div className="App"&gt;
        &lt;header className="App-header"&gt;
          &lt;img src={logo} className="App-logo" alt="logo" /&gt;
          &lt;p&gt;
            Edit &lt;code&gt;src/App.js&lt;/code&gt; and save to reload, okay?.
          &lt;/p&gt;
          &lt;div style={{width: "500px"}}&gt;
            &lt;BarChart /&gt;
          &lt;/div&gt;
          &lt;a
            className="App-link"
            href="https://reactjs.org"
            target="_blank"
            rel="noopener noreferrer"
          &gt;
            Learn React
          &lt;/a&gt;
        &lt;/header&gt;
      &lt;/div&gt;
    );
  }
  
  export default App;
  </code></pre>