Skip to content

Commit aa1c6b4

Browse files
authored
fix: add theme to price card validator schema (#746)
* fix: price card schema
1 parent 1ddb3e9 commit aa1c6b4

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/sub-blocks/PriceCard/schema.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
import {
2-
AnimatableProps,
3-
BaseProps,
4-
ButtonBlock,
5-
CardBase,
6-
LinkProps,
7-
MediaProps,
8-
} from '../../schema/validators/common';
1+
import {BaseProps, ButtonBlock, CardBase, LinkProps} from '../../schema/validators/common';
2+
import {ContentBase} from '../Content/schema';
93

104
export const PriceCardBlock = {
115
'price-card': {
@@ -14,8 +8,7 @@ export const PriceCardBlock = {
148
properties: {
159
...BaseProps,
1610
...CardBase,
17-
...MediaProps,
18-
...AnimatableProps,
11+
theme: ContentBase.theme,
1912
title: {
2013
type: 'string',
2114
},

0 commit comments

Comments
 (0)