# copy-the-code/3.8.2/classes/gutenberg/blocks/icon/src/index.js

Copy Anything to Clipboard for WordPress – Copy Button, Copy Text &amp; Copy Code, version 3.8.2. 9 lines.

- Page: https://pluginprobe.com/plugins/copy-the-code/3.8.2/code/classes/gutenberg/blocks/icon/src/index.js
- Raw: https://pluginprobe.com/plugins/copy-the-code/3.8.2/raw/classes/gutenberg/blocks/icon/src/index.js
- Modified: 2024-04-11T03:50:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/copy-the-code/3.8.2/code/classes/gutenberg/blocks/icon/src/index.js#L10-L20`.

```javascript
import { registerBlockType } from '@wordpress/blocks'
import Edit from './edit'
import meta from './../block.json'

registerBlockType( meta.name, {
	...meta,
	edit: Edit,
} )

```
