<template>
  <section class="warehouse-document-section">
    <header class="warehouse-document-section-head">
      <span class="warehouse-document-section-index">{{ index }}</span>
      <strong>{{ title }}</strong>
    </header>

    <div class="warehouse-document-section-grid">
      <slot />
    </div>
  </section>
</template>

<script setup>
defineProps({
  index: {
    type: [Number, String],
    required: true
  },
  title: {
    type: String,
    required: true
  }
});
</script>
