Skip to content

Commit

Permalink
Add WP version for deprecated props removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Aug 31, 2022
1 parent 1a7407f commit dde35cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/popover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ The element that should be used by the `Popover` as its anchor. It can either be

### anchorRect

**Deprecated**. Please use the `anchor` prop instead.
**Deprecated**. This prop will be removed in WordPress 6.3. Please use the `anchor` prop instead.

A custom `DOMRect` object at which to position the popover. `anchorRect` is used when the position (custom `DOMRect` object) of the popover needs to be fixed at one location all the time.

Expand All @@ -169,7 +169,7 @@ A custom `DOMRect` object at which to position the popover. `anchorRect` is used

### getAnchorRect

**Deprecated**. Please use the `anchor` prop instead.
**Deprecated**. This prop will be removed in WordPress 6.3. Please use the `anchor` prop instead.

A callback function which is used to override the anchor value computation algorithm. `anchorRect` will take precedence over this prop, if both are passed together.

Expand Down

0 comments on commit dde35cf

Please sign in to comment.