Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Sep 29, 2023
1 parent 33a3750 commit a627204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docs-next/components/Modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ title: Modal
| canCancel | Can close Modal by clicking 'X', pressing escape or clicking outside | array\|boolean | `escape`, `x`, `outside`, `button` | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>modal: {<br>&nbsp;&nbsp;canCancel: [ "escape", "x", "outside", "button", ]<br>}</code> |
| closeIcon | Icon name | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>modal: {<br>&nbsp;&nbsp;closeIcon: "close"<br>}</code> |
| 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 | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>modal: {<br>&nbsp;&nbsp;destroyOnHide: true, <br>}</code> |
| events | Events to be binded to the injected component | object | - | |
Expand Down
2 changes: 1 addition & 1 deletion packages/docs-next/components/Notification.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ title: Notification
| closable | Adds an 'X' button that closes the notification. | boolean | - | false |
| closeIcon | Close icon name | string | - | <div><small>From <b>config</b>:</small></div><code style='white-space: nowrap; padding: 0;'>notification: {<br>&nbsp;&nbsp;closeIcon: "close", <br>}</code> |
| 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 | - | |
Expand Down

0 comments on commit a627204

Please sign in to comment.