let
| No | boolean
| false
| Set to `true` if the modal contains scrolling content |
| primaryButtonText | let
| No | string
| ""
| Specify the primary button text |
| primaryButtonDisabled | let
| No | boolean
| false
| Set to `true` to disable the primary button |
+| primaryButtonProps | let
| No | ButtonProps
| {}
| Specify the primary button props |
| shouldSubmitOnEnter | let
| No | boolean
| true
| Set to `true` for the "submit" and "click:button--primary" eventslet
| No | string
| ""
| Specify the secondary button text |
| secondaryButtons | let
| No | [{ text: string; }, { text: string; }]
| []
| 2-tuple prop to render two secondary buttons for a 3 button modallet
| No | string
| ""
| Specify the primary button text |
+| primaryButtonProps | let
| No | ButtonProps
| {}
| Specify the primary button props |
| primaryButtonDisabled | let
| No | boolean
| false
| Set to `true` to disable the primary button |
| primaryClass | let
| No | string
| undefined
| Specify a class for the primary button |
| secondaryButtonText | let
| No | string
| ""
| Specify the secondary button text |
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 78c211f6..17970e00 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -6073,6 +6073,17 @@
"constant": false,
"reactive": false
},
+ {
+ "name": "primaryButtonProps",
+ "kind": "let",
+ "description": "Specify the primary button props",
+ "type": "ButtonProps",
+ "value": "{}",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "constant": false,
+ "reactive": false
+ },
{
"name": "shouldSubmitOnEnter",
"kind": "let",
@@ -6237,6 +6248,17 @@
"constant": false,
"reactive": false
},
+ {
+ "name": "primaryButtonProps",
+ "kind": "let",
+ "description": "Specify the primary button props",
+ "type": "ButtonProps",
+ "value": "{}",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "constant": false,
+ "reactive": false
+ },
{
"name": "primaryButtonDisabled",
"kind": "let",
diff --git a/docs/src/pages/components/Modal.svx b/docs/src/pages/components/Modal.svx
index ee93147c..361666d5 100644
--- a/docs/src/pages/components/Modal.svx
+++ b/docs/src/pages/components/Modal.svx
@@ -42,3 +42,6 @@ Use the `secondaryButtons` prop to render two secondary buttons for a "3-button
Do you really want to invite someone?
+