Skip to content

Commit 1755f9b

Browse files
authored
doc: update README
1 parent d75a6b0 commit 1755f9b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ This is a simple HTMX element that can be used to display toasts in your web app
1616
<button type="button" class="btn btn-sm btn-outline" aria-label="Close" slot="close">Close</button>
1717
</div>
1818
</template>
19-
<htmx-toasts timeout="3000" class="toast" role="status" aria-live="polite" error-class="alert-error"
20-
info-class="alert-info" warn-class="alert-warning"></htmx-toasts>
19+
<htmx-toasts
20+
timeout="3000"
21+
class="toast"
22+
role="status"
23+
aria-live="polite"
24+
error-class="alert-error"
25+
info-class="alert-info"
26+
warn-class="alert-warning"></htmx-toasts>
2127
```
2228

2329
## Attributes
@@ -30,7 +36,7 @@ This is a simple HTMX element that can be used to display toasts in your web app
3036
## Installation
3137

3238
```bash
33-
npm install @htmx/template-element
39+
npm install @htmx/htmx-toast
3440
```
3541

3642
Use as a module in your application:

0 commit comments

Comments
 (0)