@@ -70,7 +70,7 @@ export function useAccordion<Value>({
7070 ) ;
7171
7272 const getHeaderProps = useCallback (
73- ( { role = 'heading' , 'aria-level' : ariaLevel , ...props } = { } ) => ( {
73+ ( { role = 'heading' , 'aria-level' : ariaLevel , ...props } ) => ( {
7474 role,
7575 'aria-level' : ariaLevel ,
7676 'data-garden-container-id' : 'containers.accordion' ,
@@ -81,7 +81,7 @@ export function useAccordion<Value>({
8181 ) ;
8282
8383 const getTriggerProps = useCallback (
84- ( { value, role = 'button' , tabIndex = 0 , ...props } = { } ) => ( {
84+ ( { value, role = 'button' , tabIndex = 0 , ...props } ) => ( {
8585 id : `${ TRIGGER_ID } :${ value } ` ,
8686 role,
8787 tabIndex,
@@ -101,7 +101,7 @@ export function useAccordion<Value>({
101101 ) ;
102102
103103 const getPanelProps = useCallback (
104- ( { value, role = 'region' , ...props } = { } ) => ( {
104+ ( { value, role = 'region' , ...props } ) => ( {
105105 id : `${ PANEL_ID } :${ value } ` ,
106106 role,
107107 'aria-hidden' : ! internalExpandedState . includes ( value ) ,
0 commit comments