-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathindex.js
More file actions
45 lines (41 loc) · 754 Bytes
/
index.js
File metadata and controls
45 lines (41 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* BLOCK: Call to Action Block
*/
/**
* Internal dependencies
*/
import variations from './variations'
import metadata from './block.json'
import edit from './edit'
import save from './save'
import schema from './schema'
import example from './example'
import deprecated from './deprecated'
import substitute from './substitute'
/**
* External dependencies
*/
import { CTAIcon } from '~stackable/icons'
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n'
export const settings = {
...metadata,
icon: CTAIcon,
attributes: schema,
supports: {
anchor: true,
html: false,
align: true,
stkAlign: true,
stkDefaultTab: 'layout',
spacing: true,
},
example,
variations,
deprecated,
edit,
save,
substitute,
}