Skip to content

Commit

Permalink
feat: add normal options to wrapper (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
sventruschel authored Mar 11, 2024
1 parent 88d9d2a commit 8cc0d84
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/validations/prefab/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,8 @@ const wrapperSchema = (
label: Joi.string(),
optionCategories: Joi.array().items(optionCategorySchema).min(1),
options: Joi.array()
.items(linkedOptionSchema, linkedPartialSchema)
.items(optionSchema, 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 8cc0d84

Please sign in to comment.