docs(): remove code blocks in docs

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
mhartington
2018-05-31 16:13:53 -04:00
gitea-unlock(16/)
parent 5ad35ccc00
commit aaf3eee59d
octicon-diff(16/tw-mr-1) 21 changed files with 98 additions and 146 deletions

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

@@ -240,20 +240,12 @@ Dismiss the modal overlay after it has been presented.
Returns a promise that resolves when the modal did dismiss. It also accepts a callback
that is called in the same circustances.
```
const {data, role} = await modal.onDidDismiss();
```
#### onWillDismiss()
Returns a promise that resolves when the modal will dismiss. It also accepts a callback
that is called in the same circustances.
```
const {data, role} = await modal.onWillDismiss();
```
#### present()