import { Tooltip } from '@vegaprotocol/ui-toolkit';
import classNames from 'classnames';
import type { ReactNode } from 'react';
interface TradeMarketHeaderProps {
title: ReactNode;
children: ReactNode;
}
export const Header = ({ title, children }: TradeMarketHeaderProps) => {
const headerClasses = classNames(
'grid',
'grid-rows-[min-content_min-content]',
'xl:grid-cols-[min-content_1fr]',
'border-b border-default',
'bg-vega-clight-800 dark:bg-vega-cdark-800'
);
return (