sl-alert: move description from docs to component (#947)

* move component description from docs to component

* use component description in docs

* add style for lead sentence, keep bc for not updated components

* run `npm prettier`

* render summary as part of the header

* add `title` as another custom tag for JSDoc

* render components title in header
This commit is contained in:
Manuel Schmidt
2022-10-19 15:35:53 +02:00
committed by GitHub
parent 0cba4695ba
commit a78b9fe5bd
2 changed files with 3 additions and 2 deletions

View File

@@ -2,8 +2,6 @@
[component-header:sl-alert]
Alerts are used to display important messages inline or as toast notifications.
```html preview
<sl-alert open>
<sl-icon slot="icon" name="info-circle"></sl-icon>