Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit 31fca04

Browse files
committed
fix: include the widget.json file
1 parent 29da9cf commit 31fca04

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

widget.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"availableTranslations": [
3+
"ar",
4+
"de",
5+
"en",
6+
"es",
7+
"esla",
8+
"fr",
9+
"it",
10+
"ja",
11+
"ko",
12+
"pl",
13+
"pt",
14+
"ru",
15+
"tr",
16+
"zh-cn",
17+
"zh-tw"
18+
],
19+
"description": "This example contains documentation and example code for creating widgets using React.",
20+
"settingsSchema": {
21+
"type": "object",
22+
"additionalProperties": false,
23+
"properties": {
24+
"fields": {
25+
"type": "object",
26+
"properties": {
27+
"button-text": {
28+
"type": "string",
29+
"title": "Button text",
30+
"description": "Some random string to be displayed when the widget is rendered.",
31+
"examples": [
32+
"foobar"
33+
]
34+
}
35+
}
36+
}
37+
}
38+
},
39+
"title": "Example Widget"
40+
}

0 commit comments

Comments
 (0)