<template>
    <i class="ob-icon" :class="'icon-' + name" @click="onClick"></i>
</template>

<script>
    export default {
        name: 'focusIcon',

        props: {
            name: String
        },

        methods: {
            onClick: function (e) {
                this.$emit("click", e);
            }
        }
    };
</script>
