Skip to main content

Interface: ImageBlockProps

@headstartwp/core.react.ImageBlockProps

Hierarchy

Properties

alt

Optional alt: string

Defined in

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


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


height

Optional height: number

Defined in

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


htmlAnchor

Optional htmlAnchor: string

Inherited from

IBlockAttributes.htmlAnchor

Defined in

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


linkDestination

Optional linkDestination: string

Defined in

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


name

name: string

Inherited from

IBlockAttributes.name

Defined in

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


sizeSlug

Optional sizeSlug: string

Defined in

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


src

src: string

Defined in

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


style

Optional style: Record<string, string>

Inherited from

IBlockAttributes.style

Defined in

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


width

Optional width: number

Defined in

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