@antv/x6-components
React components for building x6 editors
Last updated 5 months ago by bubkoo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @antv/x6-components 
SYNC missed versions from official npm registry.

x6-components

React components for building x6 editors

MIT License Language

NPM Package NPM Downloads NPM Dependencies

Components

  • Menu
  • Dropdown
  • ContextMenu
  • Menubar
  • Toolbar
  • SplitBox
  • ScrollBox
  • AutoScrollBox
  • ColorPicker

Installation

# npm
$ npm install @antv/x6-components --save

# yarn
$ yarn add @antv/x6-components

Usage

Import component and style:

import { Menu } from '@antv/x6-components/es/menu'
// less
import '@antv/x6-components/es/menu/style'
// or css
import '@antv/x6-components/es/menu/style/index.css'

We strongly recommend using babel-plugin-import, which can convert the following code to the '@antv/x6-components/es/xxx' way:

import { Menu } from '@antv/x6-components'

And this plugin will also load corresponding styles too. Via .babelrc or babel-loader:

{
  "plugins": [
    [
      "import",
      {
        "libraryName": "@antv/x6-components",
        "libraryDirectory": "es", // es or lib
        "style": true,
        "transformToDefaultImport": true
      }
    ]
  ]
}

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

Current Tags

  • 0.10.7                                ...           latest (5 months ago)

15 Versions

  • 0.10.7                                ...           5 months ago
  • 0.10.1                                ...           6 months ago
  • 0.9.0                                ...           7 months ago
  • 0.2.0                                ...           a year ago
  • 0.1.10                                ...           a year ago
  • 0.1.9                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |