kokoapps / treeview-exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Treeview component exercise

You goal is to create a treeview component as the design:

Treeview component

The component should:

  • get a js object representing the data hirarchy as a prop
  • support collapsing and expanding each level of the tree
  • display the expanded / collapsed statuses (with proper icons)
  • distinguish directories from files
  • support vertical scrolling inside the fixed size component
  • filter the results by the search input

** The icons library HeroIcons is already installed

About


Languages

Language:HTML 42.6%Language:JavaScript 40.3%Language:CSS 17.1%