GUI
UI components for G.
✨ Features
📦 Installation
$ npm install @antv/gui
🔨 Getting Started
import { Canvas } from '@antv/g';
import { Button } from '@antv/gui';
// add `arrow` instance into canvas
const canvas = new Canvas({
/* ... */
});
const button = new Button({
/* ... */
});
canvas.appendChild(button);
// render it
canvas.render();
📎 Components
📮 Contribution
$ git clone [email protected]:antvis/gui.git
$ cd gui
$ tnpm i
$ tnpm t
Then send a pull request after coding.
📄 License
MIT@AntV.