Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Revert Target Ref Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
saket2403 committed May 20, 2024
1 parent 5e0c3fd commit bb9c39b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions packages/terra-popup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# Changelog

* Changed
* Changed `targetRef` to an optional prop.

## Unreleased

* Changed
* Enabled `close` button in popup by default.
* Changed `targetRef` prop as optional.

## 6.83.0 - (May 14, 2024)

Expand Down
2 changes: 1 addition & 1 deletion packages/terra-popup/src/Popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const propTypes = {
/**
* Target element for the popup to anchor to.
*/
targetRef: PropTypes.func,
targetRef: PropTypes.func.isRequired,
/**
* Bounding container for the popup, will use window if no value provided.
*/
Expand Down

0 comments on commit bb9c39b

Please sign in to comment.