:class="class"
><font-awesome-icon icon="pencil" /> {{ $__("Edit") }}</a
>
<router-link v-else-if="action === undefined && to" :to="to" :class="class"
><font-awesome-icon v-if="icon" :icon="icon" /> {{ title }}</router-link
<span v-else>{{ $__("Unknown action %s").format(action) }}</span>
</template>
props: {
action: {
type: String,
required: true,
},
to: {
type: [String, Object],
-