codeMan 0c1219796a 测试提交 1 vuosi sitten
..
dist 0c1219796a 测试提交 1 vuosi sitten
esm 0c1219796a 测试提交 1 vuosi sitten
lib 0c1219796a 测试提交 1 vuosi sitten
node_modules 0c1219796a 测试提交 1 vuosi sitten
src 0c1219796a 测试提交 1 vuosi sitten
LICENSE 0c1219796a 测试提交 1 vuosi sitten
README.md 0c1219796a 测试提交 1 vuosi sitten
package.json 0c1219796a 测试提交 1 vuosi sitten

README.md

GUI

UI components for [G](https://github.com/antvis/g). [![Build Status](https://github.com/antvis/gui/workflows/build/badge.svg?branch=master)](https://github.com/antvis/gui/actions) [![Coverage Status](https://img.shields.io/coveralls/github/antvis/gui/master.svg)](https://coveralls.io/github/antvis/GUI?branch=master) [![npm Version](https://img.shields.io/npm/v/@antv/gui.svg)](https://www.npmjs.com/package/@antv/gui) [![npm Download](https://img.shields.io/npm/dm/@antv/gui.svg)](https://www.npmjs.com/package/@antv/gui) [![npm License](https://img.shields.io/npm/l/@antv/gui.svg)](https://www.npmjs.com/package/@antv/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';

// create a canvas
const canvas = new Canvas({
  container: 'container',
  width: 600,
  height: 600,
  renderer: new Renderer(),
});

// create a button
const button = new Button({
  /* ... */
});

canvas.appendChild(button);

// render it
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.