/** @jsx h */
import React from 'react'
import h from '../../helpers/h'
function Link(props) {
return (
React.createElement('a', { href: props.node.data.get('href'), ...props.attributes }, props.children)
)
}
function renderNode(props) {
switch (props.node.type) {
case 'link': return Link(props)
}
}
export const props = {
renderNode,
}
export const value = (