<!-- src/components/PartnerGrid.vue -->
<template>
  <view class="grid lg:grid-cols-3 gap-6 w-full">
    <ExamplePartnerCard
        v-for="(partner, index) in partners"
        :key="index"
        :image="partner.image"
        :name="partner.name"
    />
  </view>
</template>

<script setup>
defineProps({
  partners: {
    type: Array,
    required: true,
    validator: (value) =>
        value.every(item => 'name' in item && 'image' in item)
  }
})
</script>