Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
ajax-search-for-woocommerce
/
src
/
blocks
/
search
:
index.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * 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, });