1.0.6 • Published 5 years ago
rc-org-chart v1.0.6
✨ 特性
- 使用简单,可扩展性强。
- 可拖动调整位置。
- 可自定义位置变动规则。
- 可自定义节点视图。
📦 安装
npm install rc-org-chart --save
yarn add rc-org-chart
🔨 示例
import OrgChart from 'rc-org-chart';
ReactDOM.render(<OrgChart />, mountNode);
引入样式:
import 'rc-org-chart/lib/style';
🍭 API
⌨️ 本地开发
$ git clone git@github.com:Dolov/rc-org-chart.git
$ cd rc-org-chart
$ npm install
$ npm start
打开浏览器访问 http://127.0.0.1:8000