diff --git a/packages/calcite-components/src/components/action-bar/action-bar.tsx b/packages/calcite-components/src/components/action-bar/action-bar.tsx index 6a1e52e7c3c..8e5920af726 100755 --- a/packages/calcite-components/src/components/action-bar/action-bar.tsx +++ b/packages/calcite-components/src/components/action-bar/action-bar.tsx @@ -357,10 +357,10 @@ export class ActionBar const expandToggleNode = !expandDisabled ? ( = ({ expanded, - intlExpand, - intlCollapse, + expandText, + collapseText, toggle, el, position, @@ -75,7 +75,7 @@ export const ExpandToggle: FunctionalComponent = ({ }) => { const rtl = getElementDir(el) === "rtl"; - const expandText = expanded ? intlCollapse : intlExpand; + const text = expanded ? collapseText : expandText; const icons = [ICONS.chevronsLeft, ICONS.chevronsRight]; if (rtl) { @@ -91,7 +91,7 @@ export const ExpandToggle: FunctionalComponent = ({ icon={expanded ? expandIcon : collapseIcon} onClick={toggle} scale={scale} - text={expandText} + text={text} textEnabled={expanded} // eslint-disable-next-line react/jsx-sort-props ref={(referenceElement): HTMLCalciteActionElement =>