Files
test-repo/tests/format/js/babel-plugins/jsx.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
182 B
JavaScript
Raw Normal View History

// https://babeljs.io/docs/babel-plugin-syntax-jsx
2020-05-29 09:26:52 +08:00
var profile = <div>
<img src="avatar.png" className="profile" />
<h3>{[user.firstName, user.lastName].join(' ')}</h3>
</div>;