Skip to content

Commit 3ce121f

Browse files
authored
update readme with import example for strict mode templates (#519)
1 parent c30fc76 commit 3ce121f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ ember install @html-next/vertical-collection
3535

3636
## Usage
3737

38-
```htmlbars
39-
<VerticalCollection
38+
```glimmer-ts
39+
import { VerticalCollection } from '@html-next/vertical-collection'
40+
41+
<template>
42+
<VerticalCollection
4043
@items={{items}}
4144
@tagName="ul"
4245
@estimateHeight={{50}}
@@ -53,7 +56,8 @@ ember install @html-next/vertical-collection
5356
<li>
5457
{{item.number}} {{i}}
5558
</li>
56-
</VerticalCollection>
59+
</VerticalCollection>
60+
</template>
5761
```
5862

5963
### Actions

0 commit comments

Comments
 (0)