27cdd1c954
* tidy: added eslintrc and prettierrc rules * tidy: formated the files via ‚yarn format‘ * import sort improvements * format script regex fix * replace eslint import severity to warning * remove staged file Co-authored-by: Gustavo Mauricio <gustavo.mauricio58@gmail.com>
15 lines
306 B
TypeScript
15 lines
306 B
TypeScript
import React from 'react'
|
|
|
|
import styles from './Container.module.css'
|
|
|
|
type Props = {
|
|
children: React.ReactNode
|
|
className?: string
|
|
}
|
|
|
|
const Container = ({ children, className = '' }: Props) => {
|
|
return <div className={`${styles.container} ${className}`}>{children}</div>
|
|
}
|
|
|
|
export default Container
|