diff --git a/packages/react/components/Editor/components/HeaderMenu.mjs b/packages/react/components/Editor/components/HeaderMenu.mjs index ee444d20193..9e2915f68ea 100644 --- a/packages/react/components/Editor/components/HeaderMenu.mjs +++ b/packages/react/components/Editor/components/HeaderMenu.mjs @@ -11,6 +11,7 @@ import { ViewIcon, viewLabels } from './views/index.mjs' import { Tooltip } from './Tooltip.mjs' import { AsideIcon, + CompactIcon, DetailIcon, ExpandIcon, ExportIcon, @@ -336,9 +337,11 @@ export const HeaderMenuDraftViewIcons = (props) => { } tooltip="Turns Expand on or off (see Core Settings)" > - + {[false, 0, '0'].includes(settings.expand) ? ( + + ) : ( + + )} ) : null} diff --git a/packages/react/components/Icon/index.mjs b/packages/react/components/Icon/index.mjs index 5ac9753c75e..42b8a2bff42 100644 --- a/packages/react/components/Icon/index.mjs +++ b/packages/react/components/Icon/index.mjs @@ -143,6 +143,13 @@ export const CodeIcon = (props) => ( ) +// Looks like arrows pointing inwards +export const CompactIcon = (props) => ( + + + +) + // FIXME export const CompareIcon = (props) => (