Files
test-repo/tests/objects/expand.js
T
Christopher Chedeau 36a1d12f47 Do not respect newlines for object destructuring pattern (#981)
This was intended for object expressions. I tried to remove it for ObjectTypeAnnotation but it changes a ton of stuff as it's used all over the place in many different contexts. We should clean it up but in a later PR :)

Fixes part of #975
2017-03-14 18:36:35 -07:00

10 lines
121 B
JavaScript

const Component1 = ({ props }) => (
<Text>Test</Text>
);
const Component2 = ({
props
}) => (
<Text>Test</Text>
);