<script setup>
import { onMounted } from 'vue'
import CButtonIcon from '../CButtonIcon.vue'
const clickEvent = () => alert('foo')
onMounted(() => {
  document.querySelector('.c_button_icon').parentNode.style.backgroundColor = '#0000a0'
})
</script>

<template>
  <CButtonIcon p_ButtonIconName="close" class="testClass" @click="clickEvent" />
</template>
<style>
.testClass {
  color: #ffffff;
  font-size: 60px;
}
</style>
