-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
46 lines (46 loc) · 1.08 KB
/
schema.json
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
46
{
"type": "component",
"metadata": {},
"schema": {
"name": "spectrum-inline-alert",
"friendlyName": "Inline Alert",
"description": "In-line alerts display a non-modal message associated with objects in a view. These are often used in form validation, providing a place to aggregate feedback related to multiple fields.",
"hasChildren": true,
"icon": "Alert",
"settings": [
{
"type": "text",
"key": "title",
"label": "Title"
},
{
"type": "select",
"label": "Variant",
"defaultValue": "neutral",
"key": "variant",
"options": [
{
"label": "Neutral",
"value": "neutral"
},
{
"label": "Notice",
"value": "help"
},
{
"label": "Informative",
"value": "info"
},
{
"label": "Positive",
"value": "success"
},
{
"label": "Negative",
"value": "error"
}
]
}
]
}
}