Interface: CoverBlockProps
@headstartwp/core.react.CoverBlockProps
Hierarchy
↳
CoverBlockProps
Properties
attributes
• Optional
attributes: Object
Type declaration
Name | Type |
---|---|
align | Align |
blockStyle? | string |
border | Border |
colors | Colors |
spacing | Spacing |
typography | Typography |
width? | string |
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:79
children
• Optional
children: ReactNode
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:77
className
• Optional
className: string
Inherited from
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
Defined in
packages/core/src/react/blocks/types.ts:75
focalPoint
• Optional
focalPoint: Object
Type declaration
Name | Type |
---|---|
x | string | number |
y | string | 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
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
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
Defined in
packages/core/src/react/blocks/types.ts:74
url
• url: string