Daniel Tschinder b3372a572d Remove whitespace generation (#5833)
* Remove whitespace generation and rely on default printing

Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines

* Fix a few more fixtures
2017-06-27 21:57:02 -05:00

39 lines
960 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = undefined;
var _react = require("react");
var _react2 = babelHelpers.interopRequireDefault(_react);
var RandomComponent = function (_Component) {
babelHelpers.inherits(RandomComponent, _Component);
function RandomComponent() {
babelHelpers.classCallCheck(this, RandomComponent);
return babelHelpers.possibleConstructorReturn(this, (RandomComponent.__proto__ || Object.getPrototypeOf(RandomComponent)).call(this));
}
babelHelpers.createClass(RandomComponent, [{
key: "render",
value: function render() {
return _react2.default.createElement(
"div",
{
className: "sui-RandomComponent"
},
_react2.default.createElement(
"h2",
null,
"Hi there!"
)
);
}
}]);
return RandomComponent;
}(_react.Component);
exports.default = RandomComponent;