/react-hooks-g2

A React hook api for G2

Primary LanguageTypeScriptMIT LicenseMIT

react-hooks-g2

styled with prettier Travis Coverage Status dependencies Status

Usage

  import UseG2 from 'react-hooks-g2'

  ReactDOM.render(<UseG2
    callback={chart => chart.line().position(....)}
    data={[...]}
  />)