Skip to content

Commit

Permalink
Marking components which do not support children
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalint committed May 3, 2024
1 parent bd23746 commit bc3f4cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions utopia/components.utopia.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ const Components = {
},
focus: 'never',
inspector: [],
children: 'not-supported',
variants: {
label: 'DuplicatedImageWithBackground',
imports: `import { DuplicatedImageWithBackground } from '/app/components/Components';`,
Expand All @@ -305,6 +306,7 @@ const Components = {
rating: Utopia.sliderControl(0, 5, 1, 'stars'),
},
focus: 'never',
children: 'not-supported',
variants: {
label: 'QuoteWithRating',
imports: `import { QuoteWithRating, Placeholder } from "/app/components/Components"`,
Expand Down Expand Up @@ -333,6 +335,7 @@ const Components = {
},
},
focus: 'never',
children: 'not-supported',
variants: {
label: 'TwoFeatureCallout',
imports: `import { TwoFeatureCallout, Placeholder } from "/app/components/Components"`,
Expand Down Expand Up @@ -363,6 +366,7 @@ const Components = {
inverted: Utopia.checkboxControl(),
},
focus: 'never',
children: 'not-supported',
variants: [
{
label: 'SpecialRow',
Expand Down Expand Up @@ -397,6 +401,7 @@ const Components = {
gap: Utopia.numberControl(),
},
focus: 'never',
children: 'not-supported',
variants: {
label: 'HalfAndHalf',
imports: `import { HalfAndHalf, Placeholder } from "/app/components/Components"`,
Expand Down Expand Up @@ -586,6 +591,7 @@ const Components = {
rating: Utopia.sliderControl(0, 5, 1, 'stars'),
},
focus: 'never',
children: 'not-supported',
variants: {
label: 'Stars',
imports: `import { Stars } from '/app/components/Components'`,
Expand Down

0 comments on commit bc3f4cb

Please sign in to comment.