scripts/apps/contacts/components/Popup/Footer.tsx
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
const Footer: React.StatelessComponent<any> = ({children, className, noBorder, noPadding}) => (
<div
className={classNames(
'popup__menu-footer',
{
'popup__menu-footer--no-border': noBorder,
'popup__menu-footer--no-padding': noPadding,
},
className,
)}
>
{children}
</div>
);
Footer.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
noBorder: PropTypes.bool,
noPadding: PropTypes.bool,
};
export default Footer;