import React from 'react'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import { Typography, Icon } from '..'; const CloseButton = ({ onClick }) => { return ( ); }; CloseButton.propTypes = { onClick: PropTypes.func, }; const Header = ({ title, noCloseButton, onClose }) => { const theme = 'bg-primary-dark'; const flex = 'flex items-center justify-between'; const padding = 'pb-[20px]'; return (
{title} {!noCloseButton && }
); }; Header.propTypes = { className: PropTypes.string, title: PropTypes.string, noCloseButton: PropTypes.bool, onClose: PropTypes.func, }; Header.defaultProps = { noCloseButton: false, }; export default Header;