<script>
    import Vue from 'vue';
    import {Badge} from 'view-design'
    import FunctionComponent from "../../../libs/utils/FunctionComponent";
    const prefixCls = 'ivu-badge';
    const _Badge=Vue.extend({
        name:'HtBaseBadge',
        extends:Badge,
        props:{
            bubble: {
                type: Boolean,
                default: false
            },
        },
        computed:{
            classes () {
                return [
                    `${prefixCls}`,
                    {
                        [`${prefixCls}-bubble`]:this.bubble
                    }
                ];
            },
        }
    });
    export default FunctionComponent(_Badge,'ht-base-badge','i')

</script>

