Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored and jasmussen committed Oct 18, 2019
1 parent ee8fb30 commit 80f8e34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ _Returns_

- `Array`: Ordered client IDs of editor blocks.

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

Undocumented declaration.

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

Given a block client ID, returns the root block from which the block is
Expand Down
8 changes: 1 addition & 7 deletions packages/block-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@ Undocumented declaration.

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

Block breadcrumb component, displaying the label of the block. If the block
descends from a root block, a button is displayed enabling the user to select
the root block.

_Parameters_

- _props.clientId_ `string`: Client ID of block.
Block breadcrumb component, displaying the hierarchy of the current block selection as a breadcrumb.

_Returns_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ import { __ } from '@wordpress/i18n';
import BlockTitle from '../block-title';

/**
* Block breadcrumb component, displaying the label of the block. If the block
* descends from a root block, a button is displayed enabling the user to select
* the root block.
* Block breadcrumb component, displaying the hierarchy of the current block selection as a breadcrumb.
*
* @param {string} props.clientId Client ID of block.
* @return {WPElement} Block Breadcrumb.
*/
const BlockBreadcrumb = function() {
Expand Down

0 comments on commit 80f8e34

Please sign in to comment.