update inbox list
This commit is contained in:
27
vendor/scrivo/highlight.php/test/markup/javascript/jsx.txt
vendored
Normal file
27
vendor/scrivo/highlight.php/test/markup/javascript/jsx.txt
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
var jsx = <node/>;
|
||||
var jsx = <node><child/></node>;
|
||||
var jsx = <node>...<child>...</child></node>;
|
||||
var jsx = <div><span><br /></span></div>;
|
||||
var jsx = <pre-node><child /></pre-node>;
|
||||
|
||||
var x = 5;
|
||||
|
||||
return (<node attr="value"></node>);
|
||||
|
||||
const n = () => <X />
|
||||
const m = () => <X x="" />
|
||||
|
||||
class App extends Component {
|
||||
render() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<div>
|
||||
<Route path="/about" component={About} />
|
||||
<Route path="/contact" component={Contact} />
|
||||
</div>
|
||||
</BrowserRouter>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
var x = 5;
|
||||
Reference in New Issue
Block a user