Skip to content

Files

Latest commit

6c97943 · Feb 23, 2023

History

History

208-tree-component

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