Commit 96f9e19b authored by 李纪文's avatar 李纪文

feat: gojs组件

parent 1e934929
...@@ -108,6 +108,7 @@ export default { ...@@ -108,6 +108,7 @@ export default {
'DataCarousel', 'DataCarousel',
'VmsVideo', 'VmsVideo',
'VideoSliderModal', 'VideoSliderModal',
'Gojs',
], ],
}, },
{ {
......
# `@wisdom-components/gojs`
> TODO: description
## Usage
```
const gojs = require('@wisdom-components/gojs');
// TODO: DEMONSTRATE API
```
{
"name": "@wisdom-components/gojs",
"version": "1.0.0",
"description": "> TODO: description",
"author": "lijiwen <961370825@qq.com>",
"homepage": "",
"license": "ISC",
"sideEffects": [
"*.less"
],
"module": "es/go.js",
"main": "lib/go.js",
"files": [
"lib",
"es",
"dist"
],
"directories": {
"lib": "lib",
"es": "es",
"dist": "dist",
"test": "__tests__"
},
"publishConfig": {
"registry": "https://g.civnet.cn:4873/"
},
"repository": {
"type": "git",
"url": "https://g.civnet.cn:8443/ReactWeb5/wisdom-components.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
},
"dependencies": {
"@babel/runtime": "^7.17.9"
}
}
---
title: Gojs - gojs用法
nav:
title: 基础组件
path: /components
group:
path: /
---
# PandaGojs gojs 使用
<code src="./demos/base.tsx">
\ No newline at end of file
/*
* @Author: ljiwen
* @Date: 2024-10-15 09:46:58
* @Description:
* @FilePath: \wisdom-components\packages\base-components\Gojs\src\demos\base.tsx
*/
import React, { useEffect } from 'react';
const GojsDemo = (props) => {
return (
<>
<span>
{`使用说明:import go from "@wisdom-components/gojs";`}
</span>
</>
);
};
export default GojsDemo;
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment