* docs: create a new UI docs project (#13233) * docs: create a new UI docs project * fix installation errors * docs: migrate UI docs content to new project (#13241) * Fix content * added examples for some components * finish adding examples * lint fix * fix build errors * delete empty files * path fixes + refactor * fix build error
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"description": "This component is based on the span element and supports all of its props",
|
|
"methods": [],
|
|
"displayName": "StatusBadge",
|
|
"props": {
|
|
"color": {
|
|
"defaultValue": {
|
|
"value": "\"grey\"",
|
|
"computed": false
|
|
},
|
|
"description": "The status's color.",
|
|
"tsType": {
|
|
"name": "union",
|
|
"raw": "\"green\" \\| \"red\" \\| \"blue\" \\| \"orange\" \\| \"grey\" \\| \"purple\"",
|
|
"elements": [
|
|
{
|
|
"name": "literal",
|
|
"value": "\"green\""
|
|
},
|
|
{
|
|
"name": "literal",
|
|
"value": "\"red\""
|
|
},
|
|
{
|
|
"name": "literal",
|
|
"value": "\"blue\""
|
|
},
|
|
{
|
|
"name": "literal",
|
|
"value": "\"orange\""
|
|
},
|
|
{
|
|
"name": "literal",
|
|
"value": "\"grey\""
|
|
},
|
|
{
|
|
"name": "literal",
|
|
"value": "\"purple\""
|
|
}
|
|
]
|
|
},
|
|
"required": false
|
|
}
|
|
},
|
|
"composes": [
|
|
"Omit",
|
|
"VariantProps"
|
|
]
|
|
} |