diff --git a/packages/terra-clinical-header/src/Header.jsx b/packages/terra-clinical-header/src/Header.jsx
index 36ad8755b..2cf3f938e 100644
--- a/packages/terra-clinical-header/src/Header.jsx
+++ b/packages/terra-clinical-header/src/Header.jsx
@@ -62,7 +62,10 @@ const propTypes = {
*/
isSubheader: PropTypes.bool,
- onClick: PropTypes.func,
+ /**
+ * Callback function triggered via hyperlink button title.
+ */
+ onTextClick: PropTypes.func,
};
const defaultProps = {
@@ -82,7 +85,7 @@ const Header = ({
level,
id,
isSubheader,
- onClick,
+ onTextClick,
...customProps
}) => {
const theme = useContext(ThemeContext);
@@ -103,8 +106,8 @@ const Header = ({
titleElement = (
- {onClick ? (
-
+ {onTextClick ? (
+
) : (
title || text
)}
diff --git a/packages/terra-clinical-header/tests/jest/Header.test.jsx b/packages/terra-clinical-header/tests/jest/Header.test.jsx
index 238fa17bf..910ae2bf5 100644
--- a/packages/terra-clinical-header/tests/jest/Header.test.jsx
+++ b/packages/terra-clinical-header/tests/jest/Header.test.jsx
@@ -126,7 +126,7 @@ it('should render a header with default heading level when level not set', () =>
});
it('should render a header with hyperlink title', () => {
- const header = shallowWithIntl();
+ const header = shallowWithIntl();
expect(header.find('h1').length).toEqual(1);
const hyperlinkButton = header.find('InjectIntl(Hyperlink)');