File "index.js"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/.wp-cli/wp-content/plugins/ajax-search-for-woocommerce/src/blocks/search/index.js
File size: 531 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import { registerBlockType } from '@wordpress/blocks';
import { Icon } from '@wordpress/icons';
/**
* Internal dependencies
*/
import Edit from './edit';
import transforms from './transforms';
import fibosearchIcon from '../../icons/fibosearch';
/**
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
*/
registerBlockType('fibosearch/search', {
edit: Edit,
icon: {
src: <Icon icon={fibosearchIcon} />,
},
save: () => {},
transforms,
});