Skip to content

基于React开发的百度脑图。npm install kityminder-case-react

License

Notifications You must be signed in to change notification settings

liangalien/kityminder-case-react

Repository files navigation

KityMinder Case React(Antd)

百度脑图测试用例定制版 For React

说明

基于kityminder-case-core,移植kityminder-editor部分功能和样式,使用antd重写

Vue版本请移步:kityminder-case-vue

kityminder-editor for react原版(非测试用例定制版)即将发布,敬请期待。

预览

使用说明

npm i kityminder-case-react

App.js

import React from "react";
import MinderCase from "kityminder-case-react";


export default () => {
    return (
        <MinderCase
            onFinished={(minder) => {
                console.log("初始化成功,", minder);
            }}
            onChange={(data) => {
                console.log("脑图有变更操作,", data);
            }}
            onRemove={(data) => {
                console.log("脑图有删除操作,", data);
            }}
        />
    );
};

开发说明

npm i
npm run dev
npm run build

About

基于React开发的百度脑图。npm install kityminder-case-react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published