Skip to content

Commit

Permalink
Indicates className is optional in JSDoc for FaqsPanel component
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlin committed May 3, 2022
1 parent 5aa5035 commit 43a1d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/components/faqs-panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<FaqItem>} 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 (
Expand Down

0 comments on commit 43a1d02

Please sign in to comment.