GUI
✨ Features
📦 Installation
$ npm install @antv/gui
🔨 Getting Started
import { Canvas } from '@antv/g';
import { Renderer } from '@antv/g-canvas';
import { Button } from '@antv/gui';
const canvas = new Canvas({
container: 'container',
width: 600,
height: 600,
renderer: new Renderer(),
});
const button = new Button({
});
canvas.appendChild(button);
canvas.render();
📎 Components
📮 Contribution
$ git clone git@github.com:antvis/gui.git
$ cd gui
$ npm install
$ npm run dev
Then send a pull request after coding.
📄 License
MIT@AntV.