Skip to content

Commit

Permalink
Mark useSimulatedMediaQuery as experimental (#24279)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines authored and youknowriad committed Aug 3, 2020
1 parent dc08bc8 commit 757eff8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions packages/block-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,16 +561,6 @@ _Related_

Undocumented declaration.

<a name="useSimulatedMediaQuery" href="#useSimulatedMediaQuery">#</a> **useSimulatedMediaQuery**

Function that manipulates media queries from stylesheets to simulate a given
viewport width.

_Parameters_

- _marker_ `string`: CSS selector string defining start and end of manipulable styles.
- _width_ `?number`: Viewport width to simulate. If provided null, the stylesheets will not be modified.

<a name="Warning" href="#Warning">#</a> **Warning**

Undocumented declaration.
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ export { default as WritingFlow } from './writing-flow';
*/

export { default as BlockEditorProvider } from './provider';
export { default as useSimulatedMediaQuery } from './use-simulated-media-query';
export { default as __experimentalUseSimulatedMediaQuery } from './use-simulated-media-query';
export { default as __experimentalUseEditorFeature } from './use-editor-feature';
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { navigateRegions } from '@wordpress/components';
import {
useSimulatedMediaQuery,
__experimentalUseSimulatedMediaQuery as useSimulatedMediaQuery,
BlockInspector,
} from '@wordpress/block-editor';
import { __ } from '@wordpress/i18n';
Expand Down

0 comments on commit 757eff8

Please sign in to comment.