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 Sep 6, 2022
1 parent 40332fc commit c667ced
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 @@ -168,7 +168,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 @@ -177,7 +177,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 c667ced

Please sign in to comment.