Luna Ruan 748897be07
Add experimental version of the `babel-plugin-transform-react-… (#11154)
* add next option for babel-plugin-transform-react-jsx

* address review comments

* chore: update test fixtures

* Update fixture

* Add "columnNumber" to the new React transform

* Update windows fixtures

* Delete unused output.js

* Update windows tests

* Fix windows again

* fix comments

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Moti Zilberman <motiz88@gmail.com>
2020-03-17 09:16:53 +01:00

32 lines
761 B
JavaScript

var _ref = /*#__PURE__*/<div className="navbar-header">
<a className="navbar-brand" href="/">
<img src="/img/logo/logo-96x36.png" />
</a>
</div>;
let App = /*#__PURE__*/function (_React$Component) {
babelHelpers.inherits(App, _React$Component);
var _super = babelHelpers.createSuper(App);
function App() {
babelHelpers.classCallCheck(this, App);
return _super.apply(this, arguments);
}
babelHelpers.createClass(App, [{
key: "render",
value: function render() {
const navbarHeader = _ref;
return <div>
<nav className="navbar navbar-default">
<div className="container">
{navbarHeader}
</div>
</nav>
</div>;
}
}]);
return App;
}(React.Component);