next-app-boilerplate/templates/Component/Component.tsx.hbs

14 lines
352 B
Handlebars
Raw Normal View History

2022-04-11 18:28:07 +02:00
import classNames from 'classNames'
import styles from './{{ properCase name }}.module.scss'
2022-04-11 18:28:07 +02:00
interface {{ properCase name }}Props {
2022-04-11 18:28:07 +02:00
className?: string
}
export const {{ properCase name }}: React.FC<{{ properCase name }}Props> = (props) => {
2022-04-11 18:28:07 +02:00
const { className } = props
return <div className={classNames(className, styles.container)}></div>
}