import React from 'react';
import Block from './Block';
import { Icon } from '../../UI';
/* eslint react/prop-types: 0, react/no-multi-comp: 0 */
// Define the default node type.
export const DEFAULT_NODE = 'paragraph';
// Local node renderers.
export const NODES = {
'block-quote': (props) => {props.children},
'bulleted-list': props => ,
'heading1': props => {props.children},
'heading2': props => {props.children},
'heading3': props => {props.children},
'heading4': props => {props.children},
'heading5': props => {props.children},
'heading6': props => {props.children},
'list-item': props =>
{props.children},
'paragraph': props => {props.children},
'link': (props) => {
const { data } = props.node;
const href = data.get('href');
return {props.children};
},
'image': (props) => {
const { node } = props;
const src = node.data.get('src');
return (
);
}
};
// Local mark renderers.
export const MARKS = {
bold: {
fontWeight: 'bold'
},
italic: {
fontStyle: 'italic'
},
code: {
fontFamily: 'monospace',
backgroundColor: '#eee',
padding: '3px',
borderRadius: '4px'
}
};