All files / cred-form icon.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                1x   1x   1x            
/**
 * Create the icon for the Toolset Content Template Gutenberg block.
 *
 * This file basically creates a span element containing all the right class for the Toolset Content Template Gutenberg block
 * icon to be displayed.
 *
 * @since  2.3
 */
const blockIcon = <span><span className={ 'toolset-gutenberg-block-image toolset-cred-form-gutenberg-block dashicon' }></span></span>;
 
const blockPlaceholder = <span className={ 'toolset-gutenberg-block-placeholder toolset-cred-form-gutenberg-block dashicon' }></span>;
 
const icon = {
	blockIcon: blockIcon,
	blockPlaceholder: blockPlaceholder,
};
 
export default icon;