From c869a955d4c58962b65d76869b997f78c8877f2c Mon Sep 17 00:00:00 2001 From: Vincent Smedinga Date: Mon, 15 Jul 2024 22:09:20 +0200 Subject: [PATCH] Rename otherProps to restProps for consistency --- packages/react/src/Accordion/AccordionSection.tsx | 4 ++-- packages/react/src/Card/CardLink.tsx | 4 ++-- packages/react/src/Icon/Icon.tsx | 4 ++-- packages/react/src/Link/Link.tsx | 4 ++-- packages/react/src/Paragraph/Paragraph.tsx | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/react/src/Accordion/AccordionSection.tsx b/packages/react/src/Accordion/AccordionSection.tsx index e6c6cddb92..0d33f47917 100644 --- a/packages/react/src/Accordion/AccordionSection.tsx +++ b/packages/react/src/Accordion/AccordionSection.tsx @@ -20,7 +20,7 @@ export type AccordionSectionProps = { export const AccordionSection = forwardRef( ( - { label, expanded = false, children, className, ...otherProps }: AccordionSectionProps, + { label, expanded = false, children, className, ...restProps }: AccordionSectionProps, ref: ForwardedRef, ) => { const { headingLevel, sectionAs } = useContext(AccordionContext) @@ -33,7 +33,7 @@ export const AccordionSection = forwardRef( const panelId = `panel-${id}` return ( -
+