<script>
export default {
  name: 'MForm'
}
</script>

<script setup>
import { provide, getCurrentInstance } from 'vue'

defineProps({
  model: {
    type: Object,
    required: true
  },
  labelWidth: {
    type: String,
    default: '80px'
  }
})

provide('Form', getCurrentInstance())

</script>

<template>
  <div class="m-form">
    <slot></slot>
  </div>
</template>

<style lang="scss" module>

</style>
