Debian Codegraph @

tests/query/highlights/jsx/elements.jsx

raw
1 function App() {
2 // ^ @constructor
3 const name = greet("x");
4 // ^ @variable
5 // ^ @function
6 return <div className="box"><Widget count={name} /></div>;
7 // ^ @tag
8 // ^ @attribute
9 // ^ @constructor
10 // ^ @attribute
11 // ^ @variable
12 }