Merge pull request #135 from stucox/patch-1

Correct minor formatting mistake in README
pull/144/head
Simon Friis Vindum 9 years ago committed by GitHub
commit 462498deca

@ -570,9 +570,11 @@ create a virtual node with
as its `.children` property.
#### text : string The `.text` property is created when a virtual node
is created with only a single child that possesses text and only
requires `document.createTextNode()` to be used.
#### text : string
The `.text` property is created when a virtual node is created with
only a single child that possesses text and only requires
`document.createTextNode()` to be used.
For example: `h('h1', {}, 'Hello')` will create a virtual node with
`Hello` as its `.text` property.

Loading…
Cancel
Save