deprecated
2 months ago
block.json
1 month ago
edit.js
2 months ago
icon.svg
2 months ago
index.js
2 months ago
index.php
2 months ago
save.js
2 months ago
style.scss
2 months ago
index.js
30 lines
| 1 | /** |
| 2 | * Icon Outer Block |
| 3 | */ |
| 4 | import { ReactComponent as Icon } from './icon.svg'; |
| 5 | |
| 6 | import metadata from './block.json'; |
| 7 | import edit from './edit'; |
| 8 | import save from './save'; |
| 9 | |
| 10 | const { name } = metadata; |
| 11 | |
| 12 | export { metadata, name }; |
| 13 | |
| 14 | export const settings = { |
| 15 | icon: <Icon />, |
| 16 | styles: [], |
| 17 | example: { |
| 18 | innerBlocks: [ |
| 19 | { |
| 20 | name: 'vk-blocks/icon', |
| 21 | }, |
| 22 | { |
| 23 | name: 'vk-blocks/icon', |
| 24 | }, |
| 25 | ], |
| 26 | }, |
| 27 | edit, |
| 28 | save, |
| 29 | }; |
| 30 |