From ea2a85bb9c6e802b17bac918906a59db6188b66b Mon Sep 17 00:00:00 2001 From: Tom J Nowell Date: Wed, 26 Jul 2023 13:25:49 +0100 Subject: [PATCH] Apply suggestions from code review --- src/components/PostPicker/README.md | 2 +- src/components/PostPicker/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PostPicker/README.md b/src/components/PostPicker/README.md index 5106b64..ab7ae3f 100644 --- a/src/components/PostPicker/README.md +++ b/src/components/PostPicker/README.md @@ -8,7 +8,7 @@ There are several `PostPicker` controls. ## `PostPickerButton` -``` +```jsx import { PostPickerButton } from '@humanmade/block-editor-components'; ... diff --git a/src/components/PostPicker/index.js b/src/components/PostPicker/index.js index 2d1eca0..14e0b8a 100644 --- a/src/components/PostPicker/index.js +++ b/src/components/PostPicker/index.js @@ -321,7 +321,7 @@ export function PostPickerModal( props ) { /** * Post picker toolbar button. * - * @param props Component props. + * @param {object} props Props. * @returns {ReactNode} Component */ export function PostPickerToolbarButton( props ) {