All files / lib/components list-group.vue

63.64% Statements 7/11
50% Branches 3/6
100% Functions 3/3
63.64% Lines 7/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2118x 18x 18x   18x 18x                     18x     18x  
<template>
    <component :is="tag" :class="['list-group',flush?'list-group-flush':null]">
    I    <slot></slot>
    </component>
</template>E
 
<script>
    export default {
        props: {
            tag: {
                type: String,
                default: 'div'
            },
            flush: {
                type: Boolean,
                default: false
            }
        }
    };
</script>