Skip to content

Commit

Permalink
Temporarily disable derpecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Sep 1, 2022
1 parent dbcf833 commit 6062d0f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/components/src/popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,27 +190,27 @@ const Popover = (
}

if ( anchorRef !== undefined ) {
deprecated( '`anchorRef` prop in Popover component', {
since: '6.1',
version: '6.3',
alternative: '`anchor` prop',
} );
// deprecated( '`anchorRef` prop in Popover component', {
// since: '6.1',
// version: '6.3',
// alternative: '`anchor` prop',
// } );
}

if ( anchorRect !== undefined ) {
deprecated( '`anchorRect` prop in Popover component', {
since: '6.1',
version: '6.3',
alternative: '`anchor` prop',
} );
// deprecated( '`anchorRect` prop in Popover component', {
// since: '6.1',
// version: '6.3',
// alternative: '`anchor` prop',
// } );
}

if ( getAnchorRect !== undefined ) {
deprecated( '`getAnchorRect` prop in Popover component', {
since: '6.1',
version: '6.3',
alternative: '`anchor` prop',
} );
// deprecated( '`getAnchorRect` prop in Popover component', {
// since: '6.1',
// version: '6.3',
// alternative: '`anchor` prop',
// } );
}

const arrowRef = useRef( null );
Expand Down

0 comments on commit 6062d0f

Please sign in to comment.