Skip to main content

Interface: ImageProps

@headstartwp/next.ImageProps

Hierarchy

  • ImageBlockProps

    ImageProps

Properties

alt

Optional alt: string

Inherited from

ImageBlockProps.alt

Defined in

packages/core/dist/mjs/react/blocks/ImageBlock.d.ts:9


attributes

Optional attributes: Object

Type declaration

NameType
alignAlign
blockStyle?string
borderBorder
colorsColors
spacingSpacing
typographyTypography
width?string

Inherited from

ImageBlockProps.attributes

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:70


children

Optional children: ReactNode

Inherited from

ImageBlockProps.children

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:69


className

Optional className: string

Inherited from

ImageBlockProps.className

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:65


domNode

Optional domNode: Element

Inherited from

ImageBlockProps.domNode

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:67


height

Optional height: number

Inherited from

ImageBlockProps.height

Defined in

packages/core/dist/mjs/react/blocks/ImageBlock.d.ts:5


htmlAnchor

Optional htmlAnchor: string

Inherited from

ImageBlockProps.htmlAnchor

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:68


linkDestination

Optional linkDestination: string

Inherited from

ImageBlockProps.linkDestination

Defined in

packages/core/dist/mjs/react/blocks/ImageBlock.d.ts:7


loader

Optional loader: (props: ImageLoaderProps | VIPCustomImageLoader) => string

Type declaration

▸ (props): string

Parameters
NameType
propsImageLoaderProps | VIPCustomImageLoader
Returns

string

Defined in

packages/next/src/components/ImageComponent.tsx:83


name

name: string

Inherited from

ImageBlockProps.name

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:64


sizeSlug

Optional sizeSlug: string

Inherited from

ImageBlockProps.sizeSlug

Defined in

packages/core/dist/mjs/react/blocks/ImageBlock.d.ts:6


src

src: string

Inherited from

ImageBlockProps.src

Defined in

packages/core/dist/mjs/react/blocks/ImageBlock.d.ts:8


style

Optional style: Record<string, string>

Inherited from

ImageBlockProps.style

Defined in

packages/core/dist/mjs/react/blocks/types.d.ts:66


width

Optional width: number

Inherited from

ImageBlockProps.width

Defined in

packages/core/dist/mjs/react/blocks/ImageBlock.d.ts:4