Commit 02502499 authored by 张媛's avatar 张媛

ss

parent 73f2ee1d
import React from 'react'; import React from 'react';
import "./canvasTestCom.less";
import {PolygonAxiosSystem} from "./polygonAxiosSystem"; import {PolygonAxiosSystem} from "./polygonAxiosSystem";
interface TestProps { interface TestProps {
/**设置主题色 */ /**设置主题色 */
...@@ -8,7 +7,7 @@ interface TestProps { ...@@ -8,7 +7,7 @@ interface TestProps {
test?: string; test?: string;
} }
export const CanvasTestCom = (pros:TestProps)=>{ export const PolygonSystemCom = (pros:TestProps)=>{
const polygonAxiosSystem = new PolygonAxiosSystem( const polygonAxiosSystem = new PolygonAxiosSystem(
100, //坐标系统原点在弹窗中的x坐标 100, //坐标系统原点在弹窗中的x坐标
200, //坐标系统原点在弹窗中的y坐标 200, //坐标系统原点在弹窗中的y坐标
......
import React from 'react'; import React from 'react';
import { PolygonSystemCom } from '../canvasCom/canvasTestCom/PolygonSystemCom.tsx'; import { PolygonSystemCom } from '../canvasCom/polygonSystemCom/PolygonSystemCom.tsx';
export default { export default {
component: PolygonSystemCom, component: PolygonSystemCom,
title: 'Canvas组件/Button', title: 'Canvas组件/Button',
......
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