* 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
20 lines
316 B
JavaScript
20 lines
316 B
JavaScript
var x = React.createElement(
|
|
"div",
|
|
null,
|
|
React.createElement(Component, null)
|
|
);
|
|
var x = React.createElement(
|
|
"div",
|
|
null,
|
|
props.children
|
|
);
|
|
var x = React.createElement(
|
|
Composite,
|
|
null,
|
|
props.children
|
|
);
|
|
var x = React.createElement(
|
|
Composite,
|
|
null,
|
|
React.createElement(Composite2, null)
|
|
); |