<template>
  <view class="form-row" title="">
    <view class="form-row__label">
      {{ name }}<text v-if="required" class="form-cell--required"></text>
    </view>
    <view class="form-row__content">
      <slot></slot>
    </view>
  </view>
</template>

<script setup>
defineProps({
  name: {
    default: ''
  },
  required: {
    type: Boolean,
    default: false
  },
  title: {
    default: ''
  }
})
</script>
<style>
@import url(./cell-style.css);
</style>
