Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat: set default value of built-in text component (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilmx authored and marionebl committed May 30, 2018
1 parent a4abf20 commit e451e43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/model/pattern-library/builtins/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export const Text = (context: BuiltInContext): BuiltInResult => {
id: context.options.getGlobalPropertyId(patternId, TEXT_CONTEXT_ID),
label: 'Text',
origin: Types.PatternPropertyOrigin.BuiltIn,
propertyName: 'text'
propertyName: 'text',
defaultValue: 'Text'
})
];

Expand Down

0 comments on commit e451e43

Please sign in to comment.