<template>
  <div class="mb-4">
    <p class="subtitle is-4">Crear infracción</p>

    <CrearInfraccion :admin="admin" :updateIsLoading="updateIsLoading" />

    <p class="subtitle is-4">Crear programa</p>

    <CrearInstiPrograma :admin="admin" :updateIsLoading="updateIsLoading" />

    <p class="subtitle is-4">Crear tipo de entrada</p>

    <CrearTipoEntrada :admin="admin" :updateIsLoading="updateIsLoading" />

    <p class="subtitle is-4">Crear tipo de carrito</p>

    <CrearTipoCarrito :admin="admin" :updateIsLoading="updateIsLoading" />

    <p class="subtitle is-4">Crear modelo de carrito</p>

    <CrearModelo :admin="admin" :updateIsLoading="updateIsLoading" />
  </div>
</template>

<script>
import CrearInfraccion from '@/components/admin/CrearInfraccion'
import CrearInstiPrograma from '@/components/admin/CrearInstiProgra'
import CrearTipoEntrada from '@/components/admin/CrearTipoEntrada'
import CrearTipoCarrito from '@/components/admin/CrearTipoCarrito'
import CrearModelo from '@/components/admin/CrearModelo'

export default {
  components: {
    CrearInfraccion,
    CrearTipoEntrada,
    CrearInstiPrograma,
    CrearTipoCarrito,
    CrearModelo,
  },
  props: {
    admin: { type: Object, require: true },
    updateIsLoading: { type: Function, required: true },
  },
  data() {
    return {}
  },
  methods: {},
  created() {},
}
</script>
