mirror of
https://github.com/strapi/strapi.git
synced 2025-08-30 03:33:37 +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';
|
import styles from './styles.scss';
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
function {{ properCase name }}() {
|
const {{ properCase name }} = () => {
|
||||||
return (
|
return (
|
||||||
{{#if wantCSS}}
|
{{#if wantCSS}}
|
||||||
<div className={{curly true}}styles.{{ camelCase name }}{{curly}}>
|
<div className={{curly true}}styles.{{ camelCase name }}{{curly}}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user