Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion templates/classic/COMPONENT_NAME.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ class COMPONENT_NAME extends Component {
}

render() {
return <div className="COMPONENT_NAME" />
return (
<div className="COMPONENT_NAME">
COMPONENT_NAME
</div>
)
}
}

Expand Down
6 changes: 5 additions & 1 deletion templates/classicES7/COMPONENT_NAME.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ class COMPONENT_NAME extends Component {
static propTypes = {}

render() {
return <div className="COMPONENT_NAME" />
return (
<div className="COMPONENT_NAME">
COMPONENT_NAME
</div>
)
}
}

Expand Down
4 changes: 3 additions & 1 deletion templates/presentational/COMPONENT_NAME.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import React from 'react';
import PropTypes from 'prop-types';

const COMPONENT_NAME = () => (
<div className="COMPONENT_NAME" />
<div className="COMPONENT_NAME">
COMPONENT_NAME
</div>
);

COMPONENT_NAME.propTypes = {}
Expand Down
6 changes: 5 additions & 1 deletion templates/statefulES7/COMPONENT_NAME.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ class COMPONENT_NAME extends Component {
state = {}

render() {
return <div className="COMPONENT_NAME" />
return (
<div className="COMPONENT_NAME">
COMPONENT_NAME
</div>
)
}
}

Expand Down