mirror of
https://github.com/strapi/strapi.git
synced 2025-08-30 11:45:48 +00:00
Update stateless component generator
This commit is contained in:
parent
224ac30bb4
commit
c3ca82d9cc
@ -15,7 +15,7 @@ import messages from './messages';
|
||||
import styles from './styles.scss';
|
||||
{{/if}}
|
||||
|
||||
function {{ properCase name }}() {
|
||||
const {{ properCase name }} = () => {
|
||||
return (
|
||||
{{#if wantCSS}}
|
||||
<div className={{curly true}}styles.{{ camelCase name }}{{curly}}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user