katoikia-app/web-ui/web-react/node_modules/prismjs/tests/languages/jsx/issue1235.test

29 lines
567 B
Plaintext

<Child options={{ track: true }}>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"Child"
]],
["attr-name", ["options"]],
["script", [
["punctuation", "="],
["punctuation", "{"],
["punctuation", "{"],
" track",
["punctuation", ":"],
["boolean", "true"],
["punctuation", "}"],
["punctuation", "}"]
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks that attribute can contain an simple object.
See #1235.