/**
 * Create the icon for the Toolset View Gutenberg block.
 *
 * This file basically creates a span element containing all the right class for the Toolset View Gutenberg block
 * icon to be displayed.
 *
 * @since  2.6.0
 */

import classnames from 'classnames';

const blockIcon = <span><span className={ classnames( 'toolset-gutenberg-block-image', 'toolset-view-gutenberg-block', 'dashicon' ) }></span></span>;

const blockPlaceholder = <span className={ classnames( 'toolset-gutenberg-block-placeholder', 'toolset-view-gutenberg-block', 'dashicon', ) }></span>;

const icon = {
	blockIcon: blockIcon,
	blockPlaceholder: blockPlaceholder,
};

export default icon;

