<template>
  <div class="auth-list">
    <auth-item v-for="(item, index) in list" @click="onClick(item)" :item="item" :key="index" />
  </div>
</template>

<script>
import AuthItem from '../AuthItem'

export default {
  components: {
    AuthItem
  },
  props: {
    list: Array
  },
  methods: {
    onClick(item) {
      this.$emit('click', item)
    }
  }
}
</script>

