/** @format */ /** * External dependencies */ import { __ } from '@wordpress/i18n'; import { Fill } from 'react-slot-fill'; import { isArray, noop } from 'lodash'; import { IconButton } from '@wordpress/components'; import PropTypes from 'prop-types'; /** * Internal dependencies */ import './style.scss'; import { getAdminLink } from 'lib/nav-utils'; const Header = ( { sections, onToggle, isSidebarOpen } ) => { const _sections = isArray( sections ) ? sections : [ sections ]; return (