diff --git a/package.json b/package.json index 223b212..07848da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-accessible-accordion", - "version": "3.3.1", + "version": "3.3.4", "description": "Accessible Accordion component for React", "main": "dist/umd/index.js", "module": "dist/es/index.js", diff --git a/src/components/AccordionItemPanel.tsx b/src/components/AccordionItemPanel.tsx index 71f5483..804668a 100644 --- a/src/components/AccordionItemPanel.tsx +++ b/src/components/AccordionItemPanel.tsx @@ -9,7 +9,7 @@ const AccordionItemPanel = ({ className = 'accordion__panel', id, ...rest -}: Props) => { +}: Props): JSX.Element => { const renderChildren = ({ panelAttributes }: ItemContext): JSX.Element => { if (id) { assertValidHtmlId(id);