mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
13 lines
212 B
Vue
13 lines
212 B
Vue
<script setup lang="ts">
|
|
const toast = useToast()
|
|
</script>
|
|
|
|
<template>
|
|
<UButton
|
|
color="neutral"
|
|
variant="outline"
|
|
label="Open Toast"
|
|
@click="toast.add({ title: 'Heads up!' })"
|
|
/>
|
|
</template>
|