deprecated
2 weeks 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 | * Flow block type |
| 3 | * |
| 4 | */ |
| 5 | import deprecated from './deprecated/'; |
| 6 | import { ReactComponent as Icon } from './icon.svg'; |
| 7 | import { content, title, iconPicture } from '../../utils/example-data'; |
| 8 | import edit from './edit'; |
| 9 | import metadata from './block.json'; |
| 10 | import save from './save'; |
| 11 | |
| 12 | const { name } = metadata; |
| 13 | |
| 14 | export { metadata, name }; |
| 15 | |
| 16 | export const settings = { |
| 17 | icon: <Icon />, |
| 18 | example: { |
| 19 | attributes: { |
| 20 | heading: title, |
| 21 | content, |
| 22 | arrowFlag: 'vk_flow-arrow-on', |
| 23 | insertImage: iconPicture, |
| 24 | }, |
| 25 | }, |
| 26 | edit, |
| 27 | save, |
| 28 | deprecated, |
| 29 | }; |
| 30 |