presentations/highlight-js/test/markup/javascript/jsx.txt

7 lines
188 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
var jsx = <node/>;
var jsx = <node><child/></node>;
var jsx = <node>...<child>...</child></node>;
var jsx = <div><span><br /></span></div>;
var x = 5;
return (<node attr="value"></node>);