<template>
  <form class="nv-form">
    <slot name="default" />
  </form>
</template>

<script>
export default {
  name: "NvForm",

  props: {
    disabled: { type: Boolean, default: undefined },
    readonly: { type: Boolean, default: undefined },
  },

  provide() {
    return {
      parentDisabled: this.disabled,
      parentReadonly: this.readonly,
    };
  },
};
</script>

<style lang="scss" scoped></style>
