import * as React from 'react' import * as T from '@tesseract-design/react-common' import { LeftSidebarWithMenu } from '@tesseract-design/viewfinder' import DummyContent from '../../molecules/DummyContent' import Link from '../../molecules/Link' import Brand from '../../molecules/Brand' type Props = { query: string, sidebarMainOpen: boolean, menuLinkLabel: string, userLinkLabel: string, moreItemsOpen: boolean, searchQueryKey: string, searchLabel: string, searchHint: string, popupQueryKey: string, moreQueryKey: string, sidebarQueryKey: string, moreLinkLabel: string, sidebarMenuItems: LeftSidebarWithMenu.MenuItem[], userPopupQueryValue: string, } const LeftSidebarLayoutTemplate: React.FC = ({ query, sidebarMainOpen, menuLinkLabel, userLinkLabel, moreItemsOpen, searchQueryKey, searchLabel, searchHint, popupQueryKey, moreQueryKey, sidebarQueryKey, moreLinkLabel, sidebarMenuItems, userPopupQueryValue, }) => { return ( } topBarCenter={
} menuLink={ } userLink={ } moreLinkMenuItem={{ label: moreLinkLabel, url: { query: { [moreQueryKey]: '', }, }, icon: ( ), }} moreItemsOpen={moreItemsOpen} moreLinkComponent={({ url, icon, label, }) => ( {icon} {label} )} linkComponent={({ url, icon, label, }) => ( {icon} {label} )} sidebarMainOpen={sidebarMainOpen} sidebarMain={ } sidebarMenuItems={sidebarMenuItems} >
) } export default LeftSidebarLayoutTemplate