Skip to main content

Interface: CoverBlockProps

@headstartwp/core.react.CoverBlockProps

Hierarchy

Properties

attributes

Optional attributes: Object

Type declaration

NameType
alignAlign
blockStyle?string
borderBorder
colorsColors
spacingSpacing
typographyTypography
width?string

Inherited from

IBlockAttributes.attributes

Defined in

packages/core/src/react/blocks/types.ts:79


children

Optional children: ReactNode

Inherited from

IBlockAttributes.children

Defined in

packages/core/src/react/blocks/types.ts:77


className

Optional className: string

Inherited from

IBlockAttributes.className

Defined in

packages/core/src/react/blocks/types.ts:73


dimRatio

dimRatio: number

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:12


domNode

Optional domNode: Element

Inherited from

IBlockAttributes.domNode

Defined in

packages/core/src/react/blocks/types.ts:75


focalPoint

Optional focalPoint: Object

Type declaration

NameType
xstring | number
ystring | number

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:16


hasParallax

hasParallax: boolean

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:9


htmlAnchor

Optional htmlAnchor: string

Inherited from

IBlockAttributes.htmlAnchor

Defined in

packages/core/src/react/blocks/types.ts:76


id

id: number

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:11


isDark

isDark: boolean

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:13


isRepeated

isRepeated: boolean

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:10


minHeight

minHeight: number

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:15


name

name: string

Inherited from

IBlockAttributes.name

Defined in

packages/core/src/react/blocks/types.ts:72


overlayColor

overlayColor: string

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:8


style

Optional style: Record<string, string>

Inherited from

IBlockAttributes.style

Defined in

packages/core/src/react/blocks/types.ts:74


url

url: string

Defined in

packages/core/src/react/blocks/CoverBlock.tsx:14