import { Layouts, Widgets } from '@tesseract-design/viewfinder-react'; import {Span} from '@tesseract-design/viewfinder-base'; import {Brand} from '~/components/Brand'; import {DummyLinks} from '~/components/DummyLinks'; import {useSearchParams, Link} from '@remix-run/react'; const LeftSidebarWithMenuLayoutPage = () => { const params = useSearchParams(); const { open } = Object.fromEntries(params.entries()) as unknown as Record; const sidebarOpen = open === 'sidebar'; return ( ( {icon} {label} )} > Sidebar } topBarWidget={ } style={{ backgroundColor: 'inherit', }} menuLink={ Open } span={Span.WIDE} > } > Hello ) } export default LeftSidebarWithMenuLayoutPage