Skip to main content

Interface: MediaTextBlockProps

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:9

Extends

Properties

attributes?

optional attributes: object

Defined in: packages/core/src/react/blocks/types.ts:84

align

align: Align

blockStyle?

optional blockStyle: string

border

border: Border

colors

colors: Colors

spacing

spacing: Spacing

typography

typography: Typography

width?

optional width: string

Inherited from

IBlockAttributes.attributes


children?

optional children: ReactNode

Defined in: packages/core/src/react/blocks/types.ts:82

Inherited from

IBlockAttributes.children


className?

optional className: string

Defined in: packages/core/src/react/blocks/types.ts:78

Inherited from

IBlockAttributes.className


domNode?

optional domNode: Element

Defined in: packages/core/src/react/blocks/types.ts:80

Inherited from

IBlockAttributes.domNode


focalPoint?

optional focalPoint: object

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:16

x

x: string | number

y

y: string | number


htmlAnchor?

optional htmlAnchor: string

Defined in: packages/core/src/react/blocks/types.ts:81

Inherited from

IBlockAttributes.htmlAnchor


imageFill

imageFill: boolean

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:15


mediaId?

optional mediaId: number

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:11


mediaPosition?

optional mediaPosition: "left" | "right"

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:10


mediaSizeSlug?

optional mediaSizeSlug: string

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:13


mediaType?

optional mediaType: "image" | "video"

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:12


mediaWidth?

optional mediaWidth: number

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:14


name

name: string

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

Inherited from

IBlockAttributes.name


style?

optional style: Record<string, string>

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

Inherited from

IBlockAttributes.style


verticalAlignment?

optional verticalAlignment: "center" | "top" | "bottom"

Defined in: packages/core/src/react/blocks/MediaTextBlock.tsx:20