Skip to content

Commit

Permalink
fix(hero): react - correct ctaAttribute prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
monicawheeler authored and kajabi-bot committed Nov 7, 2023
1 parent f24ffc4 commit 297a3ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/sage-react/lib/Hero/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ Hero.propTypes = {
/**
* The attributes for the CTA link.
*/
ctaAttributes: PropTypes.node,
ctaAttributes: PropTypes.shape({
href: PropTypes.string
}),
/**
* The content to be rendered within the Hero.
*/
Expand Down

0 comments on commit 297a3ea

Please sign in to comment.