21 lines
593 B
Vue
21 lines
593 B
Vue
<script lang="ts" setup>
|
|
defineProps<{
|
|
championName?: string
|
|
championLanes?: Array<LaneData>
|
|
tierlistList?: boolean
|
|
}>()
|
|
const emit = defineEmits<{
|
|
stateChange: [state: string, lane: number]
|
|
}>()
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<LazyNavSideBar :champion-name="championName"
|
|
:champion-lanes="championLanes"
|
|
:tierlist-list="tierlistList"
|
|
@state-change="(s, l) => emit('stateChange', s, l)"/>
|
|
<LazyNavBottomBar :champion-name="championName"
|
|
:champion-lanes="championLanes"
|
|
@state-change="(s, l) => emit('stateChange', s, l)"/>
|
|
</template> |