/* eslint-disable max-len */ import React from 'react'; import PropTypes from 'prop-types'; const EditorIcon = (props) => { switch (props.icon) { case 'Bold': return ( ); case 'Italic': return ( ); case 'Strikethrough': return ( ); case 'Heading': return ( ); case 'InlineCode': return ( ); case 'Quote': return ( ); case 'List': return ( ); case 'NumberedList': return ( ); case 'CheckList': return ( ); case 'Link': return ( ); case 'Image': return ( ); case 'Grid': return ( ); case 'Table': return ( ); case 'Drawio': return ( ); case 'Attachment': return ( ); case 'Emoji': return ( ); case 'Template': // TODO: fix return ( ); } }; EditorIcon.propTypes = { icon: PropTypes.string.isRequired, }; export default EditorIcon;