Skip to content

Commit 6c23656

Browse files
committed
add code snippet to readme
1 parent b0e29f6 commit 6c23656

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ Usage
2626

2727
[View the docs here](https://dwickern.github.io/ember-basic-tree/).
2828

29+
```hbs
30+
<BasicTree as |tree|>
31+
<tree.Node @content="ember" @isExpanded={{true}}>
32+
<tree.Node @content="basic"/>
33+
<tree.Node @content="tree"/>
34+
</tree.Node>
35+
</BasicTree>
36+
```
2937

3038
Contributing
3139
------------------------------------------------------------------------------

0 commit comments

Comments
 (0)