<template>
  <div class="uif-group" :class="{border}">
    <div v-if="title" class="uif-group-title">{{title}}</div>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'u-group',
  props: {
    border: {
      type: Boolean,
      default: true
    },
    title: {
      type: String,
      default: ''
    }
  }
}
</script>
