import React from 'react' import PropTypes from 'prop-types' import Icon from '../Icon' const Blockquote = props => { const attr = Object.assign({}, props) delete attr.type delete attr.children return (
{props.children}
) } Blockquote.propTypes = { type: PropTypes.string.isRequired, children: PropTypes.node, style: PropTypes.object } Blockquote.defaultProps = { type: 'note', children: null, style: {} } export default Blockquote