Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 1.35 KB

README.md

File metadata and controls

67 lines (46 loc) · 1.35 KB

GUI

UI components for G.

Build Status Coverage Status npm Version npm Download npm License

✨ 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

$ npm i

$ npm t

Then send a pull request after coding.

📄 License

MIT@AntV.