docs(components): update method and parameter descriptions (#18075)

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Brandy Carney
2019-04-23 12:59:25 -04:00
committed by GitHub
gitea-unlock(16/)
parent bd96491d03
commit 464ec3b70a
octicon-diff(16/tw-mr-1) 56 changed files with 879 additions and 644 deletions

8
core/src/components/modal/readme.md
View File

@@ -308,10 +308,10 @@ Dismiss the modal overlay after it has been presented.
#### Parameters
| Name | Type | Description |
| ------ | --------------------- | ----------- |
| `data` | `any` | |
| `role` | `string \| undefined` | |
| Name | Type | Description |
| ------ | --------------------- | ------------------------------------------------------------------------------------------ |
| `data` | `any` | Any data to emit in the dismiss events. |
| `role` | `string \| undefined` | The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'. |
#### Returns