fix(templates): fix error for properCase name

This commit is contained in:
Walid 2022-04-21 18:56:55 +00:00
parent d2438b02b6
commit 99a0bfbb19
No known key found for this signature in database
GPG Key ID: 4BDA1ABD227F9279

View File

@ -1,12 +1,12 @@
import classNames from 'classNames' import classNames from 'classNames'
import styles from './walidoux.module.scss' import styles from './{{ properCase name }}.module.scss'
interface WalidouxProps { interface {{ properCase name }}Props {
className?: string className?: string
} }
export const Walidoux: React.FC<WalidouxProps> = (props) => { export const {{ properCase name }}: React.FC<{{ properCase name }}Props> = (props) => {
const { className } = props const { className } = props
return <div className={classNames(className, styles.container)}></div> return <div className={classNames(className, styles.container)}></div>