Skip to content

Commit

Permalink
Text as default content
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalint committed May 3, 2024
1 parent ff8cbcb commit 2710329
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions utopia/components.utopia.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,36 @@ const DefaultContent = [
moduleName: '/app/components/Components',
variants: ColumnWithPlaceholdersVariant,
},
{
component: 'Text',
moduleName: '/app/components/Components',
variants: [
{
label: 'Smaller Text',
imports:
'import { Text } from "/app/components/Components"',
code: `<Text level='smaller'>Smaller Text</Text>`,
},
{
label: 'Regular Text',
imports:
'import { Text } from "/app/components/Components"',
code: `<Text level='regular'>Regular Text</Text>`,
},
{
label: 'Embiggened Text',
imports:
'import { Text } from "/app/components/Components"',
code: `<Text level='embiggened'>Embiggened Text</Text>`,
},
{
label: 'Large Text',
imports:
'import { Text } from "/app/components/Components"',
code: `<Text level='large'>Large Text</Text>`,
},
],
},
]

const Components = {
Expand Down

0 comments on commit 2710329

Please sign in to comment.