<template>
	<view class="select-words-box">
		<view class="words-item" v-for="item in activeWords" :class="{active: activeWord.id == item.id}">{{item.name}}</view>
	</view>
</template>

<script setup>
	const props = defineProps({
		activeWord: {
			type: Object,
		},
		activeWords: {
			type: Array
		},
	})
</script>
