File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/controls/accessibleAccordion/components Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,17 @@ const Provider = ({
51
51
} ;
52
52
53
53
const renderChildren = (
54
- accordionContext : AccordionContext ,
54
+ ctx : AccordionContext ,
55
55
) : JSX . Element => {
56
56
const expanded =
57
- dangerouslySetExpanded ? dangerouslySetExpanded : accordionContext . isItemExpanded ( uuid ) ;
58
- const disabled = accordionContext . isItemDisabled ( uuid ) ;
59
- const panelAttributes = accordionContext . getPanelAttributes (
57
+ dangerouslySetExpanded ? dangerouslySetExpanded : ctx . isItemExpanded ( uuid ) ;
58
+ const disabled = ctx . isItemDisabled ( uuid ) ;
59
+ const panelAttributes = ctx . getPanelAttributes (
60
60
uuid ,
61
61
dangerouslySetExpanded ,
62
62
) ;
63
- const headingAttributes = accordionContext . getHeadingAttributes ( uuid ) ;
64
- const buttonAttributes = accordionContext . getButtonAttributes (
63
+ const headingAttributes = ctx . getHeadingAttributes ( uuid ) ;
64
+ const buttonAttributes = ctx . getButtonAttributes (
65
65
uuid ,
66
66
dangerouslySetExpanded ,
67
67
) ;
You can’t perform that action at this time.
0 commit comments