From 6dfb5f66e8b527ee14f565bb6f6945d3b3ad4977 Mon Sep 17 00:00:00 2001 From: Nik Tverd Date: Wed, 29 Nov 2023 22:37:39 +0600 Subject: [PATCH] fixup! fixup! fixup! feat: add border to media in media-block and refactor it in layout-items --- src/blocks/Media/schema.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blocks/Media/schema.ts b/src/blocks/Media/schema.ts index 1c12ce8c9..e6f208736 100644 --- a/src/blocks/Media/schema.ts +++ b/src/blocks/Media/schema.ts @@ -46,7 +46,8 @@ export const MediaBlockBaseProps = { }, button: ButtonBlock, border: { - type: 'boolean', + type: 'string', + enum: ['shadow', 'line', 'none'], }, };