Skip to content

Commit

Permalink
Popover: Deprecate the caret (#4997)
Browse files Browse the repository at this point in the history
* deprecate the caret

* Fix comment

* Add changeset
  • Loading branch information
TylerJDev committed Sep 23, 2024
1 parent 48a56e9 commit dbfb504
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-bats-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Popover: Add note on deprecation of `caret` in v38
3 changes: 3 additions & 0 deletions packages/react/src/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ type CaretPosition =
| 'right-top'

type StyledPopoverProps = {
/**
* @deprecated `caret` is deprecated and will be removed in v38.
*/
caret?: CaretPosition
relative?: boolean
open?: boolean
Expand Down

0 comments on commit dbfb504

Please sign in to comment.