Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 2.55 KB

File metadata and controls

20 lines (16 loc) · 2.55 KB

Tree Component hard #Components

By 木荣 @murongg

Take the Challenge    简体中文

For this challenge, you need to implement a tree component. Lets go.

<script setup lang="ts">
interface TreeData {
  key: string
  title: string
  children: TreeData[]
}
defineProps<{data: TreeData[]}>()
</script>

<template>
  <!-- do something.... -->
</template>

Back Share your Solutions Check out Solutions