From e0dc05b7f12f3881d56308767890870e4cc71aea Mon Sep 17 00:00:00 2001 From: Matthew Holloway Date: Tue, 9 Feb 2021 09:23:56 +1300 Subject: [PATCH] React v17 release --- package.json | 2 +- src/components/AccordionItemPanel.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 223b2128..07848da9 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 71f54836..804668a2 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);