/** @jsx h */
import React from 'react'
import h from '../../helpers/h'
function Emoji(props) {
return React.createElement('img', props.attributes)
}
function renderNode(props, editor, next) {
switch (props.node.type) {
case 'emoji':
return Emoji(props)
default:
return next()
}
}
export const props = {
renderNode,
schema: {
inlines: {
emoji: {
isVoid: true,
},
},
},
}
export const value = (