floranet/src/components/ui/Chat.vue

22 lines
434 B
Vue

<template>
<q-btn flat @click="handleClick"><IconChat /></q-btn>
</template>
<script lang="js">
import { defineComponent } from 'vue';
import IconChat from '../icons/IconChat.vue';
export default defineComponent({
name: 'chat-component',
components: { IconChat },
setup() {
const handleClick = () => {
console.log('click');
};
return { handleClick };
},
});
</script>
<style lang="scss" scoped></style>