Skip to content

Commit b6e5f55

Browse files
committed
readme
1 parent 47599fa commit b6e5f55

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
@@ -54,6 +54,14 @@ import { Div, P, Button, Br, Span } from 'react-jsx-templating'; // Note: named
5454
+ </Div>
5555
```
5656

57+
- for-loop
58+
59+
```diff
60+
+ <Div $for={people} $key={person => person.id}>
61+
+ {person => <div>{person.name}<div>}
62+
+ </Div>
63+
```
64+
5765
## Examples
5866

5967
- **Switch-Case Templating**

0 commit comments

Comments
 (0)