Commit 73f2ee1d authored by 张媛's avatar 张媛

ss

parent bc2e268c
import React from 'react';
import { PolygonSystemCom } from '../canvasCom/canvasTestCom/PolygonSystemCom.tsx';
export default {
component: CanvasTestCom,
component: PolygonSystemCom,
title: 'Canvas组件/Button',
//👇 Creates specific argTypes
argTypes: {
......@@ -14,7 +14,7 @@ export default {
};
//👇 We create a “template” of how args map to rendering
const Template = (args) => <CanvasTestCom {...args} />;
const Template = (args) => <PolygonSystemCom {...args} />;
//👇 Each story then reuses that template
export const Primary = Template.bind({});
......
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