Interface: MediaTextBlockProps
@headstartwp/core.react.MediaTextBlockProps
Hierarchy
↳
MediaTextBlockProps
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
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/MediaTextBlock.tsx:13
htmlAnchor
• Optional
htmlAnchor: string
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:76
imageFill
• imageFill: boolean
Defined in
packages/core/src/react/blocks/MediaTextBlock.tsx:12
mediaId
• Optional
mediaId: number
Defined in
packages/core/src/react/blocks/MediaTextBlock.tsx:8
mediaPosition
• Optional
mediaPosition: "left"
| "right"
Defined in
packages/core/src/react/blocks/MediaTextBlock.tsx:7
mediaSizeSlug
• Optional
mediaSizeSlug: string
Defined in
packages/core/src/react/blocks/MediaTextBlock.tsx:10
mediaType
• Optional
mediaType: "image"
| "video"
Defined in
packages/core/src/react/blocks/MediaTextBlock.tsx:9
mediaWidth
• Optional
mediaWidth: number
Defined in
packages/core/src/react/blocks/MediaTextBlock.tsx:11
name
• name: string
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:72
style
• Optional
style: Record
<string
, string
>
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:74
verticalAlignment
• Optional
verticalAlignment: "center"
| "top"
| "bottom"