<template>
  <tv-label
    :text-label="properties.name"
    :color="properties.color"
    text-color="#000000"
    color="#FFFFFF"
    @click="clickHandler"
  />
</template>

<script setup>
import { ref } from 'vue'
import { TvLabel } from '@todovue/tv-label';
import '@todovue/tv-label/style.css';

const properties = ref({
  name: "Default",
  color: "#4FB7C0",
});

const clickHandler = () => {
  console.log("clicked");
}
</script>
