Skip to content

Commit

Permalink
Added param to doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro committed Jun 19, 2023
1 parent 6e19a9e commit aa8da73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/js/src/settings/routes/templates/post-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const FormikReplacementVariableEditorFieldWithDummy = withFormikDummyField( Form
* @param {string} singularLabel The post type label (singular).
* @param {boolean} hasArchive Whether the post type has archive support.
* @param {boolean} hasSchemaArticleType Whether the post type has schema article type support.
* @param {boolean} isNew Whether the post type is new.
* @returns {JSX.Element} The post type element.
*/
const PostType = ( { name, label, singularLabel, hasArchive, hasSchemaArticleType, isNew } ) => {
Expand Down
2 changes: 2 additions & 0 deletions packages/js/src/settings/routes/templates/taxonomy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const FormikReplacementVariableEditorFieldWithDummy = withFormikDummyField( Form
* @param {string} name The taxonomy name.
* @param {string} label The taxonomy label (plural).
* @param {string[]} postTypes The connected post types.
* @param {boolean} showUi Whether the taxonomy has a UI.
* @param {boolean} isNew Whether the taxonomy is new.
* @returns {JSX.Element} The taxonomy element.
*/
const Taxonomy = ( { name, label, postTypes: postTypeNames, showUi, isNew } ) => {
Expand Down

0 comments on commit aa8da73

Please sign in to comment.