Skip to content

Commit

Permalink
move Placeholder to utopia-api
Browse files Browse the repository at this point in the history
  • Loading branch information
liady committed May 9, 2024
1 parent 4657d59 commit 4c514c3
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions utopia/components.utopia.js
Original file line number Diff line number Diff line change
Expand Up @@ -884,18 +884,6 @@ const Components = {
},
],
},
Placeholder: {
component: Utopia.Placeholder,
icon: 'dashedframe',
properties: {
margin: Utopia.numberControl(),
expand: Utopia.checkboxControl(),
fixed: Utopia.checkboxControl(),
},
focus: 'never',
children: 'not-supported',
inspector: [],
},
Grid: {
component: Grid,
properties: {
Expand Down Expand Up @@ -1034,6 +1022,20 @@ const Components = {
},
},
},
'utopia-api': {
Placeholder: {
component: Utopia.Placeholder,
icon: 'dashedframe',
properties: {
margin: Utopia.numberControl(),
expand: Utopia.checkboxControl(),
fixed: Utopia.checkboxControl(),
},
focus: 'never',
children: 'not-supported',
inspector: [],
},
}
}

export default Components

0 comments on commit 4c514c3

Please sign in to comment.