-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components): Tree renders as nodes and edges
This uses fancy html+css border tricks to draw the edges. Note that tailwind supports 'first(-child)' and 'last(-child)' modifiers, but not 'only(-child)'. Thus we use CSS to style the borders in most cases, but use TypeScript to emit different DOM nodes if a tree has only one child.
- Loading branch information
Showing
1 changed file
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters