@@ -324,6 +324,13 @@ export const shapes = [
width: 100,
height: 100,
name: 'square',
+ realTimes: [
+ {
+ label: '文字',
+ key: 'text',
+ type: 'string',
+ }
+ ]
},
{
@@ -1039,6 +1046,13 @@ export const formComponents = [
],
@@ -6023,3 +6037,7 @@ export const defaultGradientColor: string[] = [
'#000000',
'#FFFFFF',
];
+
+export const penProps:string[] = [
+]
@@ -1436,6 +1436,13 @@ const onAddShape = (event: DragEvent | MouseEvent, name: string) => {
height: 20,
name: 'text',
};
} else if (name === 'line') {
data = {