Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,6 @@ export function FormulaEditor({
<div className="lnsFormula__editorHeader">
<EuiFlexGroup alignItems="center" gutterSize="m" responsive={false}>
<EuiFlexItem className="lnsFormula__editorHeaderGroup">
{/* TODO: Replace `bolt` with `wordWrap` icon (after latest EUI is deployed) and hook up button to enable/disable word wrapping. */}
<EuiToolTip
content={
isWordWrapped
Expand All @@ -599,7 +598,7 @@ export function FormulaEditor({
position="top"
>
<EuiButtonIcon
iconType="bolt"
iconType={isWordWrapped ? 'wordWrap' : 'wordWrapDisabled'}
display={!isWordWrapped ? 'fill' : undefined}
color={'text'}
aria-label={
Expand Down Expand Up @@ -725,7 +724,7 @@ export function FormulaEditor({
color="text"
onClick={() => setIsHelpOpen(!isHelpOpen)}
>
<EuiIcon type="help" />
<EuiIcon type="documentation" />
<EuiIcon type={isHelpOpen ? 'arrowDown' : 'arrowUp'} />
</EuiLink>
</EuiToolTip>
Expand All @@ -747,7 +746,7 @@ export function FormulaEditor({
<EuiButtonIcon
className="lnsFormula__editorHelp lnsFormula__editorHelp--overlay"
onClick={() => setIsHelpOpen(!isHelpOpen)}
iconType="help"
iconType="documentation"
color="text"
size="s"
aria-label={i18n.translate(
Expand Down