From a6272044c109e89a7049966160f32effd6e5a7a5 Mon Sep 17 00:00:00 2001 From: mlmo Date: Fri, 29 Sep 2023 09:36:06 +0200 Subject: [PATCH] docs: update --- packages/docs-next/components/Modal.md | 2 +- packages/docs-next/components/Notification.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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` |
From config:
modal: {
  canCancel: [ "escape", "x", "outside", "button", ]
}
| | closeIcon | Icon name | string | - |
From config:
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 | - |
From config:
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 | - |
From config:
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 | - | |