import React, { forwardRef, ElementRef } from 'react' import { ComponentProps } from '@stitches/react' import { styled } from '~/theme' export const headerHeight = '60px' const StyledHeader = styled('div', { display: 'flex', justifyContent: 'start', position: 'fixed', left: '0', right: '0', top: '0', height: headerHeight, zIndex: '6', paddingLeft: '$sm', paddingRight: '$sm', borderBottom: '1px solid $OtherDivider', backgroundColor: '$Background2dp', }) export interface HeaderProps extends ComponentProps {} export const Header = forwardRef, HeaderProps>( (properties, forwardedRef) => { const { children, ...remainingProps } = properties return ( {children} ) } ) Header.displayName = 'Header'