* 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
6 lines
109 B
JavaScript
6 lines
109 B
JavaScript
function fn(Component) {
|
|
var data = "prop",
|
|
_ref = <Component prop={data} />;
|
|
|
|
return () => _ref;
|
|
} |