Type alias: SerializedImageNode

SerializedImageNode: Spread<object, SerializedLexicalNode>

A serialized representation of an ImageNode.

Type declaration

altText

altText: string

height?

optional height: number

rest

rest: (MdxJsxAttribute | MdxJsxExpressionAttribute)[]

src

src: string

title?

optional title: string

type

type: "image"

version

version: 1

width?

optional width: number