mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-23 17:49:49 +08:00
68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"app": {
|
|
"version": "example/v1",
|
|
"metadata": {
|
|
"name": "multi select",
|
|
"description": "multi select"
|
|
},
|
|
"spec": {
|
|
"components": [
|
|
{
|
|
"id": "root",
|
|
"type": "chakra_ui/v1/root",
|
|
"properties": {},
|
|
"traits": []
|
|
},
|
|
{
|
|
"id": "stack",
|
|
"type": "chakra_ui/v1/stack",
|
|
"properties": {},
|
|
"traits": [
|
|
{
|
|
"type": "core/v1/slot",
|
|
"properties": {
|
|
"container": {
|
|
"id": "root",
|
|
"slot": "root"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "select1",
|
|
"type": "chakra_ui/v1/multiSelect",
|
|
"properties": {
|
|
"placeholder": "Select option",
|
|
"options": [
|
|
{
|
|
"value": "1",
|
|
"label": "Option 1"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "Option 2"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "Option 3"
|
|
}
|
|
]
|
|
},
|
|
"traits": [
|
|
{
|
|
"type": "core/v1/slot",
|
|
"properties": {
|
|
"container": {
|
|
"id": "stack",
|
|
"slot": "content"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|