import classnames from 'classnames' ; import styles from './Container.module.scss' ; interface IContainer { children : any ; hasTopMargin ? : boolean ; } export default ( { children , hasTopMargin } ) => ( < div className = { classnames ( [ styles . containerComponent , hasTopMargin ? styles . topMargin : null , ] ) } > { children } < /div>);