diff --git a/packages/docs-next/components/Modal.md b/packages/docs-next/components/Modal.md index f511187ba..9cb23d28e 100644 --- a/packages/docs-next/components/Modal.md +++ b/packages/docs-next/components/Modal.md @@ -47,7 +47,7 @@ title: Modal | canCancel | Can close Modal by clicking 'X', pressing escape or clicking outside | array\|boolean | `escape`, `x`, `outside`, `button` |
modal: {
canCancel: [ "escape", "x", "outside", "button", ]
}
|
| closeIcon | Icon name | string | - | modal: {
closeIcon: "close"
}
|
| closeIconSize | | string | - | "medium" |
-| component | Component to be injected, used to open a component modal programmatically. Close modal within the component by emitting a 'close' event — this.$emit('close') | object\|func | - | |
+| component | Component to be injected, used to open a component modal programmatically. Close modal within the component by emitting a 'close' event — this.$emit('close') | | - | |
| content | Text content | string | - | |
| destroyOnHide | Destroy modal on hide | boolean | - | modal: {
destroyOnHide: true,
}
|
| events | Events to be binded to the injected component | object | - | |
diff --git a/packages/docs-next/components/Notification.md b/packages/docs-next/components/Notification.md
index 4fbcf142c..c061c5bb4 100644
--- a/packages/docs-next/components/Notification.md
+++ b/packages/docs-next/components/Notification.md
@@ -45,7 +45,7 @@ title: Notification
| closable | Adds an 'X' button that closes the notification. | boolean | - | false |
| closeIcon | Close icon name | string | - | notification: {
closeIcon: "close",
}
|
| closeIconSize | Size of close icon | string | - | "small" |
-| component | Component to be injected, used to open a component modal programmatically. Close modal within the component by emitting a 'close' event — this.$emit('close') | object\|func | - | |
+| component | Component to be injected, used to open a component modal programmatically. Close modal within the component by emitting a 'close' event — this.$emit('close') | | - | |
| duration | Visibility duration in miliseconds. | number | - | 2000 |
| events | Events to be binded to the injected component | object | - | {} |
| hasIcon | Adds an icon on the left side depending on the type (or the icon prop if defined). | boolean | - | |