Skip to content

Commit 87ae7e1

Browse files
committed
Merge pull request #221 from geo4orce/master
typo
2 parents f27de02 + 6f96664 commit 87ae7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ A common mistake beginners tend to make is attempting to pass down a number usin
252252
<comp some-prop="1"></comp>
253253
```
254254

255-
However, since this is a literal prop, its value is passed down a the plain string `"1"`, instead of an actual number. If we want to pass down an actual JavaScript number, we need to use the dynamic syntax to make its value be evaluated as a JavaScript expression:
255+
However, since this is a literal prop, its value is passed down as a plain string `"1"`, instead of an actual number. If we want to pass down an actual JavaScript number, we need to use the dynamic syntax to make its value be evaluated as a JavaScript expression:
256256

257257
``` html
258258
<!-- this passes down an actual number -->

0 commit comments

Comments
 (0)