import { css } from '@emotion/react'; import { spacing, theme, PlanEnterpriseIcon, ArrowLeftIcon, DocsLogo } from '@expo/styleguide'; import { GuidesIcon } from './icons/Guides'; import { PreviewIcon, PreviewInactiveIcon } from './icons/Preview'; import { shouldShowFeaturePreviewLink } from '~/constants/FeatureFlags.cjs'; import { Search } from '~/ui/components/Search'; import { SidebarSingleEntry } from '~/ui/components/Sidebar/SidebarSingleEntry'; import { A } from '~/ui/components/Text'; type SidebarHeadProps = { sidebarActiveGroup: string; }; export const SidebarHead = ({ sidebarActiveGroup }: SidebarHeadProps) => { if (sidebarActiveGroup === 'archive') { return (
); } return (