<script setup>
const props = defineProps({
  label: {
    type: String,
    default: "Add"
  },
  to: String,
  color: String
});
</script>

<template>
    <l-btn icon="sym_o_add" v-bind="$props" :to="to ?? $route.path + '/add'">
        <q-tooltip>{{ $t(label) }}</q-tooltip>
    </l-btn>
</template>
