You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,9 @@ All children will be flattened as if they're given inline.
54
54
(div :id id :class "big-dog"
55
55
children
56
56
"dog")
57
-
((div :id id :class "small-dog"
57
+
(div :id id :class "small-dog"
58
58
children
59
-
"dog"))))
59
+
"dog")))
60
60
```
61
61
`dog` will be defined as a function that takes `:id` and `:size` keyword arguments. `dog` returns an user-defined element object. Inside it, `children` will be replaced with the children elements you provided when creating this `dog`:
0 commit comments