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

14 lines
269 B
Handlebars
Raw Normal View History

import classNames from 'classnames'
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> = ({
className
}) => {
return (
<div className={classNames(className, '')}></div>
)
2022-04-11 18:28:07 +02:00
}