g2-wrapper
A higher G2 wrapper for React.
Usage
import G2Wrapper from 'g2-wrapper';import React Component from 'react'; state = data: width: 500 height: 250 plotCfg: { chartcolor'name'shape'spline'size2; } { return <div> <G2Wrapper /> </div> ; }
License
MIT