diff --git a/packages/fields/README.md b/packages/fields/README.md index e5fa8851fc5b2b..214f3d6ee3a50a 100644 --- a/packages/fields/README.md +++ b/packages/fields/README.md @@ -52,7 +52,7 @@ This field is used to display the post parent. ### passwordField -Undocumented declaration. +This field is used to display the post password. ### permanentlyDeletePost diff --git a/packages/fields/src/fields/password/index.tsx b/packages/fields/src/fields/password/index.tsx index e8d55c08af2ab3..aa7bc57e3f7cae 100644 --- a/packages/fields/src/fields/password/index.tsx +++ b/packages/fields/src/fields/password/index.tsx @@ -19,4 +19,7 @@ const passwordField: Field< BasePost > = { isVisible: ( item ) => item.status !== 'private', }; +/** + * This field is used to display the post password. + */ export default passwordField;