chore(docs): Updated UI Reference (#6221)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
co-authored by
Oli Juhl
Shahed Nasser
parent
96629f1916
commit
dfd9e7c772
@@ -17,6 +17,28 @@
|
||||
},
|
||||
"description": "The prompt's description."
|
||||
},
|
||||
"variant": {
|
||||
"required": false,
|
||||
"tsType": {
|
||||
"name": "union",
|
||||
"raw": "\"danger\" | \"confirmation\"",
|
||||
"elements": [
|
||||
{
|
||||
"name": "literal",
|
||||
"value": "\"danger\""
|
||||
},
|
||||
{
|
||||
"name": "literal",
|
||||
"value": "\"confirmation\""
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "The variant of the prompt.",
|
||||
"defaultValue": {
|
||||
"value": "\"danger\"",
|
||||
"computed": false
|
||||
}
|
||||
},
|
||||
"verificationText": {
|
||||
"required": false,
|
||||
"tsType": {
|
||||
@@ -24,6 +46,17 @@
|
||||
},
|
||||
"description": "The text the user has to input in order to confirm the action."
|
||||
},
|
||||
"verificationInstruction": {
|
||||
"required": false,
|
||||
"tsType": {
|
||||
"name": "string"
|
||||
},
|
||||
"description": "The instruction for the verification text. Useful for passing a translated string to use instead of the default english one.\nShould be in the format: \"Please type {val} to confirm:\"",
|
||||
"defaultValue": {
|
||||
"value": "\"Please type {val} to confirm:\"",
|
||||
"computed": false
|
||||
}
|
||||
},
|
||||
"cancelText": {
|
||||
"required": false,
|
||||
"tsType": {
|
||||
|
||||
Reference in New Issue
Block a user