mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-05 00:27:19 -04:00
Documentation! + some little fixes to add consistency between components
This commit is contained in:
+8
-5
@@ -64,7 +64,6 @@ module.exports = [
|
||||
{
|
||||
"type": "radiogroup",
|
||||
"appKey": "radiogroup-test",
|
||||
"defaultValue": "quote' \"test",
|
||||
"label": "Radio test",
|
||||
"options": [
|
||||
{ "label": "Test thing one", "value": "one" },
|
||||
@@ -91,9 +90,9 @@ module.exports = [
|
||||
"type": "input",
|
||||
"appKey": "date",
|
||||
"defaultValue": "",
|
||||
"label": "Date",
|
||||
"label": "Range",
|
||||
"attributes": {
|
||||
type: "date"
|
||||
type: "range"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -102,15 +101,19 @@ module.exports = [
|
||||
"defaultValue": "grape",
|
||||
"label": "Favorite Flavor",
|
||||
"options": [
|
||||
{ "label": "", "value": "" },
|
||||
{ "label": "Berry", "value": "berry" },
|
||||
{ "label": "Grape", "value": "grape" },
|
||||
{ "label": "Banana", "value": "banana" }
|
||||
]
|
||||
],
|
||||
"attributes": {
|
||||
"required": "required"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "submit",
|
||||
"label": "Save"
|
||||
"defaultValue": "Save"
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user