Files
medusa-store/www/apps/ui/src/specs/Prompt/Prompt.json
github-actions[bot] dfd9e7c772 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>
2024-01-29 08:20:51 +00:00

29 lines
722 B
JSON

{
"description": "This component is based on the [Radix UI Alert Dialog](https://www.radix-ui.com/primitives/docs/components/alert-dialog) primitives.",
"methods": [],
"displayName": "Prompt",
"props": {
"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
}
}
}
}