sunmao-ui/examples/select/multi.json
2021-11-11 10:03:50 +08:00

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"
}
}
}
]
}
]
}
}
}