import { Component, Prop, Vue } from "vue-property-decorator"; import Icon from "@/components/Icon/index.vue"; import { ItemsType } from "@/types"; @Component({ components: { Icon, }, }) export default class FeatureList extends Vue { @Prop({ type: Array, required: true }) readonly items!: ItemsType[]; get lastItem() { return this.items.slice(-1)[0].id; } }