import { PropsWithChildren, ReactNode } from 'react' import { cn } from 'ui' interface ProductMenuBarProps { title: string titleBadge?: ReactNode header?: ReactNode className?: string } export const ProductMenuBarHeader = ({ children }: PropsWithChildren) => (
{children}
) export const ProductMenuBar = ({ title, titleBadge, header, children, className, }: PropsWithChildren) => { return (
{header ?? ( <>

{title}

{titleBadge} )}
{children}
) }