Skip to content

Commit

Permalink
feat: add displayType to wrapper (#464)
Browse files Browse the repository at this point in the history
* feat: add displayType to wrapper

* fix: add inline
  • Loading branch information
sventruschel authored Mar 1, 2024
1 parent 250a56c commit abebcdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/validations/prefab/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ const wrapperSchema = (
options: Joi.array()
.items(linkedOptionSchema, linkedPartialSchema)
.required(),
displayType: Joi.string()
.valid('inline-block', 'block', 'inline')
.optional(),
descendants: Joi.array()
.items(
Joi.custom(validateComponent(styles, componentStyleMap, prefabType)),
Expand Down

0 comments on commit abebcdd

Please sign in to comment.