mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 15:31:46 +01:00
chore: up
This commit is contained in:
12
playground/compodium/examples/UToasterExample.vue
Normal file
12
playground/compodium/examples/UToasterExample.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
const toast = useToast()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UButton
|
||||
color="neutral"
|
||||
variant="outline"
|
||||
label="Open Toast"
|
||||
@click="toast.add({ title: 'Heads up!' })"
|
||||
/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user