This will transform code like this:
Component.jsx:
import styled from 'styled-components';
export default styled.div`
margin-top: 10px;
`;
Into:
import styled from 'styled-components';
const Component = styled.div`
margin-top: 10px;
`;
Component.displayName = 'Component';
export default Component;
Where Component
is the name of the file.