Skip to content

Commit

Permalink
Renamed to showTooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Gengar-i committed Dec 20, 2023
1 parent 084b395 commit 069f934
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bundle/ui-dev/src/modules/common/popup/popup.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Popup = ({
noHeader,
noCloseBtn,
extraClasses,
tooltip,
showTooltip,
}) => {
const modalRef = useRef(null);
const Translator = getTranslator();
Expand Down Expand Up @@ -100,7 +100,7 @@ const Popup = ({
? renderCloseBtn
: title && (
<div className="modal-header c-popup__header">
<h3 className="modal-title c-popup__headline" title={tooltip ? title : null}>
<h3 className="modal-title c-popup__headline" title={showTooltip ? title : null}>
<span className="c-popup__title">{title}</span>
{subtitle && <span className="c-popup__subtitle">{subtitle}</span>}
</h3>
Expand Down Expand Up @@ -148,7 +148,7 @@ Popup.propTypes = {
noCloseBtn: PropTypes.bool,
noKeyboard: PropTypes.bool,
extraClasses: PropTypes.string,
tooltip: PropTypes.bool,
showTooltip: PropTypes.bool,
};

Popup.defaultProps = {
Expand All @@ -161,7 +161,7 @@ Popup.defaultProps = {
extraClasses: '',
title: null,
subtitle: null,
tooltip: true,
showTooltip: true,
};

export default Popup;

0 comments on commit 069f934

Please sign in to comment.