/** @jsx h */ import React from 'react' import h from '../../helpers/h' function Image(props) { return React.createElement('img', { src: props.node.data.get('src'), ...props.attributes, }) } function renderNode(props) { switch (props.node.type) { case 'image': return Image(props) } } export const props = { renderNode, schema: { blocks: { image: { isVoid: true, }, }, }, } export const value = ( ) export const output = `

`.trim()