27 lines
511 B
Plaintext
27 lines
511 B
Plaintext
<Child {...this.props}>
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["tag", [
|
|
["tag", [
|
|
["punctuation", "<"],
|
|
["class-name", "Child"]
|
|
]],
|
|
["spread", [
|
|
["punctuation", "{"],
|
|
["punctuation", "..."],
|
|
["attr-value", "this"],
|
|
["punctuation", "."],
|
|
["attr-value", "props"],
|
|
["punctuation", "}"]
|
|
]],
|
|
["punctuation", ">"]
|
|
]]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks that spread can contain an object property.
|
|
See #1236.
|