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