CS-Notes/docs/_style/prism-master/tests/languages/jsx/issue1235.test

30 lines
592 B
Plaintext
Raw Normal View History

2018-12-19 14:09:39 +08:00
<Child options={{ track: true }}>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
["class-name", "Child"]
]],
["attr-name", ["options"]],
["script", [
["script-punctuation", "="],
["punctuation", "{"],
["punctuation", "{"],
" track",
["punctuation", ":"],
["boolean", "true"],
["punctuation", "}"],
["punctuation", "}"]
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks that attribute can contain an simple object.
See #1235.