deprecated
2 weeks ago
block.json
1 month ago
edit.js
2 months ago
icon-info.svg
2 months ago
icon-success.svg
2 months ago
icon-warning.svg
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
variations.js
2 months ago
index.js
30 lines
| 1 | /** |
| 2 | * Alert block type |
| 3 | * |
| 4 | */ |
| 5 | import { content } from '@vkblocks/utils/example-data'; |
| 6 | import { ReactComponent as Icon } from './icon.svg'; |
| 7 | import deprecated from './deprecated/index'; |
| 8 | import edit from './edit'; |
| 9 | import metadata from './block.json'; |
| 10 | import save from './save'; |
| 11 | import variations from './variations'; |
| 12 | |
| 13 | const { name } = metadata; |
| 14 | |
| 15 | export { metadata, name }; |
| 16 | |
| 17 | export const settings = { |
| 18 | icon: <Icon />, |
| 19 | example: { |
| 20 | attributes: { |
| 21 | style: 'info', |
| 22 | content, |
| 23 | }, |
| 24 | }, |
| 25 | save, |
| 26 | edit, |
| 27 | deprecated, |
| 28 | variations, |
| 29 | }; |
| 30 |