Skip to content

ImageSchemaMatcher

ImageSchemaMatcher = ObjectSchemaMatcher<{[key: string]: undefined | string; alt?: string; src?: string; }>

Defined in: block-tools/src/schema-matchers.ts:21

Use the current Schema as well as the potential img element props to determine what Portable Text Object to use to represent the image.