Refactoring task to extract a portion of JSX as a new component.
x Prettier indentation on both removed and inserted text / Look for var refs and transform to props - done-ish, currently looks only for MemberExpression names would be better if became:
const Component = ({ src }) => (
<Image src={src}/>
)
although this would introduce complexity and probably new edge cases
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.