import React, { Component } from 'react';
import s from './<%= componentName %>.scss';
import withStyles from '../withStyles';

class <%= componentName %> extends Component {

  render() {
    return <div></div>;
  }

}

export default withStyles(<%= componentName %>, s);

import React, { Component } from 'react';
<% if (componentStyleExtension !== 'none') { -%>
import withStyles from '../withStyles';
import s from './LoginPage.scss';
<% } -%>

class <%= componentName %> extends Component {

  render() {
    return <div></div>;
  }

}

<% if (componentStyleExtension !== 'none') { -%>
export default withStyles(<%= componentName %>, s);
<% } else { -%>
export default <%= componentName %>;
<% } -%>

Fix importing styles where there's none
Fix importing styles where there's none
