From 43a1d026a5a0231a4e4e1d0f6aed4808ac65c333 Mon Sep 17 00:00:00 2001 From: Ian Yu-Hsun Lin Date: Tue, 3 May 2022 20:01:17 +0800 Subject: [PATCH] Indicates className is optional in JSDoc for FaqsPanel component --- js/src/components/faqs-panel/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/components/faqs-panel/index.js b/js/src/components/faqs-panel/index.js index c987f2867c..1f214bf1d7 100644 --- a/js/src/components/faqs-panel/index.js +++ b/js/src/components/faqs-panel/index.js @@ -31,7 +31,7 @@ const getPanelToggleHandler = ( trackName, id ) => ( isOpened ) => { * @param {Object} props React props. * @param {string} props.trackName The track event name to be recorded when toggling on FAQ items. * @param {Array} props.faqItems FAQ items for rendering. - * @param {string} props.className The class name for this component. + * @param {string} [props.className] The class name for this component. */ export default function FaqsPanel( { trackName, faqItems, className } ) { return (