Skip to content

Commit

Permalink
chore(designable-setters): improve ui
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jul 27, 2021
1 parent e3d7d26 commit 83df3ac
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion designable/setters/src/components/ValidatorSetter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,20 @@ const ValidatorSchema: ISchema = {
},
},
},
moveDown: {
type: 'void',
'x-component': 'ArrayItems.MoveDown',
'x-component-props': { style: { marginLeft: 10 } },
},
moveUp: {
type: 'void',
'x-component': 'ArrayItems.MoveUp',
'x-component-props': { style: { marginLeft: 5 } },
},
remove: {
type: 'void',
'x-component': 'ArrayItems.Remove',
'x-component-props': { style: { marginLeft: 10 } },
'x-component-props': { style: { marginLeft: 5 } },
},
},
},
Expand Down

0 comments on commit 83df3ac

Please sign in to comment.