Skip to content

Commit

Permalink
fix: add theme to price card validator schema (#746)
Browse files Browse the repository at this point in the history
* fix: price card schema
  • Loading branch information
qradle-yndx authored Dec 6, 2023
1 parent 1ddb3e9 commit aa1c6b4
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/sub-blocks/PriceCard/schema.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import {
AnimatableProps,
BaseProps,
ButtonBlock,
CardBase,
LinkProps,
MediaProps,
} from '../../schema/validators/common';
import {BaseProps, ButtonBlock, CardBase, LinkProps} from '../../schema/validators/common';
import {ContentBase} from '../Content/schema';

export const PriceCardBlock = {
'price-card': {
Expand All @@ -14,8 +8,7 @@ export const PriceCardBlock = {
properties: {
...BaseProps,
...CardBase,
...MediaProps,
...AnimatableProps,
theme: ContentBase.theme,
title: {
type: 'string',
},
Expand Down

0 comments on commit aa1c6b4

Please sign in to comment.