Skip to content

Commit

Permalink
Add 'deprecated' annotation to docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
pierlon committed Nov 4, 2020
1 parent 6403366 commit 8832470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/src/block-editor/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ AmpLayoutControl.propTypes = {
/**
* Get AMP Noloading toggle control.
*
* @deprecated As of v2.1. Blocks with the `ampNoLoading` attribute will still be able to use the control.
*
* @param {Object} props Props.
*
* @return {ReactElement} Element.
Expand Down

0 comments on commit 8832470

Please sign in to comment.