<script setup>
import { ref } from 'vue'
import CModal from '../CModal.vue'

const isOpen = ref(false)
</script>

<template>
  <button @click="isOpen = !isOpen">open modal</button>
  <CModal v-model="isOpen" p_Title="My Modal"
    >test test test test test test test test test test
  </CModal>
</template>

<style>
:root {
  --q-primary: goldenrod;
}
</style>
