but with modules installed via npm:
import React from 'react';import ReactHighcharts from 'react-highcharts';import annotations from 'highcharts-annotations';
...
return <div><ReactHighcharts config={_mergedConfig}/></div>
For some reason this doesn't work... How this should be configured?
I'm trying to make such configuration work: http://jsbin.com/foyawejoca/edit?html,js,output
but with modules installed via npm:
import React from 'react';
import ReactHighcharts from 'react-highcharts';
import annotations from 'highcharts-annotations';
...return <div>
<ReactHighcharts config={_mergedConfig}/>
</div>
For some reason this doesn't work... How this should be configured?