Skip to main content

Interface: MediaTextBlockProps

@headstartwp/core.react.MediaTextBlockProps

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


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/MediaTextBlock.tsx:13


htmlAnchor

Optional htmlAnchor: string

Inherited from

IBlockAttributes.htmlAnchor

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

IBlockAttributes.name

Defined in

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


style

Optional style: Record<string, string>

Inherited from

IBlockAttributes.style

Defined in

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


verticalAlignment

Optional verticalAlignment: "center" | "top" | "bottom"

Defined in

packages/core/src/react/blocks/MediaTextBlock.tsx:17