docs(composables): add use-toast page

This commit is contained in:
Benjamin Canac
2024-09-04 11:05:51 +02:00
parent efd1a81184
commit 577436d190
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
---
title: useToast
description: 'A composable to display toast notifications in your Nuxt application.'
navigation:
badge:
label: Todo
---
## Usage
```vue
<script setup lang="ts">
const toast = useToast()
</script>
```
### `add()`
### `update()`
### `remove()`
### `clear()`