mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-12-03 09:09:52 +08:00
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"app": {
|
|
"version": "example/v1",
|
|
"metadata": { "name": "checkbox", "description": "checkbox" },
|
|
"spec": {
|
|
"components": [
|
|
{ "id": "root", "type": "chakra_ui/v1/root", "properties": {}, "traits": [] },
|
|
{
|
|
"id": "checkbox_1",
|
|
"type": "chakra_ui/v1/checkbox",
|
|
"properties": {
|
|
"text": { "raw": "Checkbox", "format": "plain" },
|
|
"defaultIsChecked": true
|
|
},
|
|
"traits": [
|
|
{
|
|
"type": "core/v1/slot",
|
|
"properties": { "container": { "id": "root", "slot": "root" } }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "checkbox_2",
|
|
"type": "chakra_ui/v1/checkbox",
|
|
"properties": {
|
|
"text": { "raw": "Checkbox-disabled", "format": "plain" },
|
|
"defaultIsChecked": true,
|
|
"isDisabled": true
|
|
},
|
|
"traits": [
|
|
{
|
|
"type": "core/v1/slot",
|
|
"properties": { "container": { "id": "root", "slot": "root" } }
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|