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

x6-react-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-react-components --save

# yarn
$ yarn add @antv/x6-react-components

Usage

Import component and style:

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

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

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

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

{
  "plugins": [
    [
      "import",
      {
        "libraryName": "@antv/x6-react-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

  • 2.0.0-beta.1                                ...           beta (4 years ago)
  • 2.0.9                                ...           latest (2 years ago)

41 Versions

  • 2.0.9                                ...           2 years ago
  • 2.0.8                                ...           4 years ago
  • 2.0.7                                ...           4 years ago
  • 2.0.6                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 3.0.0 [deprecated]           ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 1.1.20                                ...           4 years ago
  • 2.0.0-beta.1                                ...           4 years ago
  • 2.0.6-beta.16                                ...           4 years ago
  • 1.1.19                                ...           4 years ago
  • 1.1.18                                ...           4 years ago
  • 1.1.17                                ...           4 years ago
  • 2.0.6-beta.2                                ...           4 years ago
  • 2.0.3-beta.0                                ...           4 years ago
  • 1.1.16                                ...           4 years ago
  • 1.1.15                                ...           5 years ago
  • 1.1.14-beta.1                                ...           5 years ago
  • 1.1.14                                ...           5 years ago
  • 1.1.13                                ...           5 years ago
  • 1.1.12                                ...           5 years ago
  • 1.1.11                                ...           5 years ago
  • 1.1.10                                ...           5 years ago
  • 1.1.7                                ...           6 years ago
  • 1.1.6                                ...           6 years ago
  • 1.1.5                                ...           6 years ago
  • 1.1.4                                ...           6 years ago
  • 1.1.2                                ...           6 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.10.20                                ...           6 years ago
  • 0.10.20-beta.1                                ...           6 years ago
  • 0.10.19                                ...           6 years ago
  • 0.10.18                                ...           6 years ago
  • 0.10.15                                ...           6 years ago
Downloads
Total 117
Today 0
This Week 0
This Month 74
Last Day 0
Last Week 52
Last Month 42
Dependencies (7)

© 2010 - cnpmjs.org x YWFE | Home | YWFE