feat(JumpLinks): consumed Penta updates by thatblindgeye · Pull Request #10027 · patternfly/patternfly-react
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be required, as without it the anchor internal to the component cannot receive keyboard focus.
If the intent is that a consumer can pass either an href to link to an ID on the page, or the onClick to handle this functionality themselves, then we would need to render either an anchor with an href or a button with the onClick, not an anchor with either/both.