import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import Styles from "./HeaderCloseBtn.module.scss";
/**
 * A simple close button that can be used for back or close actions.
 * This component handles the visual styling and click behavior for navigation controls.
 **/
export default function HeaderButton({ mode, hidden, onClick, }) {
    return (_jsxs("div", { "data-testid": "header-control-back", className: `${Styles.headerButton} ${Styles[mode]} ${hidden ? Styles.pointOfNoReturn : ""}`, onClick: onClick, children: [_jsx("div", {}), _jsx("div", {})] }));
}
//# sourceMappingURL=HeaderCloseBtn.js.map