Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 3056c79

Browse files
committed
Correct JSDoc comments
1 parent 9fb0f2f commit 3056c79

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

components/blocks/BlockHeadings/BlockHeadings.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import React from 'react'
99
* The core Headings block from Gutenberg.
1010
*
1111
* @author WebDevStudios
12-
* @param props.props
13-
* @param {object} props The component attributes as props.
12+
* @param {object} props The component attributes as props.
13+
* @param {object} props.props The block attributes props from WordPress.
14+
* @return {Element} RichText component with heading content
1415
*/
1516
export default function BlockHeadings({props}) {
1617
const {anchor, align, className, content, level} = props

components/blocks/BlockParagraph/BlockParagraph.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import PropTypes from 'prop-types'
88
* The core Paragraph block from Gutenberg.
99
*
1010
* @author WebDevStudios
11-
* @param props.props
12-
* @param {object} props The component attributes as props.
11+
* @param {object} props The component attributes as props.
12+
* @param {object} props.props The block attributes props from WordPress.
13+
* @return {Element} RichText component with paragraph content
1314
*/
1415
export default function BlockParagraph({props}) {
1516
const {className, align, anchor, content} = props

0 commit comments

Comments
 (0)