From bcb98b359c1a7fa39ee2bd72776dbb0434de150e Mon Sep 17 00:00:00 2001
From: Corentin THOMASSET <corentin.thomasset74@gmail.com>
Date: Mon, 19 Jun 2023 00:21:36 +0200
Subject: refactor(search): command palette design (#463)

---
 src/ui/c-modal/c-modal.demo.vue | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 src/ui/c-modal/c-modal.demo.vue

(limited to 'src/ui/c-modal/c-modal.demo.vue')

diff --git a/src/ui/c-modal/c-modal.demo.vue b/src/ui/c-modal/c-modal.demo.vue
new file mode 100644
index 0000000..c4349f6
--- /dev/null
+++ b/src/ui/c-modal/c-modal.demo.vue
@@ -0,0 +1,15 @@
+<script lang="ts" setup>
+const modal1 = ref();
+</script>
+
+<template>
+  <div>
+    <c-button @click="() => modal1?.open()">
+      Open Modal
+    </c-button>
+
+    <c-modal ref="modal1">
+      Content
+    </c-modal>
+  </div>
+</template>
-- 
cgit v1.2.3

