Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
List View: make available flags present in JSDoc
  • Loading branch information
gwwar committed Oct 22, 2021
commit 7a88277b5a9a3a7491a65b341afcd7203ed80c56
6 changes: 6 additions & 0 deletions packages/block-editor/src/components/list-view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const expanded = ( state, action ) => {
* @param {Object} props Components props.
* @param {Array} props.blocks Custom subset of block client IDs to be used instead of the default hierarchy.
* @param {Function} props.onSelect Block selection callback.
* @param {boolean} props.showNestedBlocks Flag to enable displaying nested blocks.
* @param {boolean} props.showBlockMovers Flag to enable block movers
* @param {boolean} props.__experimentalFeatures Flag to enable experimental features.
* @param {boolean} props.__experimentalPersistentListViewFeatures Flag to enable features for the Persistent List View experiment.
* @param {Object} ref Forwarded ref
Expand All @@ -55,6 +57,8 @@ function ListView(
onSelect = noop,
__experimentalFeatures,
__experimentalPersistentListViewFeatures,
showNestedBlocks,
showBlockMovers,
...props
},
ref
Expand Down Expand Up @@ -148,6 +152,8 @@ function ListView(
<ListViewBranch
blocks={ clientIdsTree }
selectBlock={ selectEditorBlock }
showNestedBlocks={ showNestedBlocks }
showBlockMovers={ showBlockMovers }
{ ...props }
/>
</ListViewContext.Provider>
Expand Down