mirror of
https://github.com/unraid/api.git
synced 2026-01-02 22:50:02 -06:00
test: add notification component directory
This commit is contained in:
12
web/components/Notifications/Sidebar.vue
Normal file
12
web/components/Notifications/Sidebar.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
const visible = ref<boolean>(false);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="card flex justify-center">
|
||||
<Drawer v-model:visible="visible" header="Drawers" position="right" class="!w-full md:!w-80 lg:!w-[30rem]">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
</Drawer>
|
||||
<Button label="Open" class="p-button-rounded p-button-outlined" @click="visible = true" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user