import classNames from 'classnames'; import AutoSizer from 'react-virtualized-auto-sizer'; import { useState, ReactNode } from 'react'; import { TradingView, TradingViews } from '@vegaprotocol/react-helpers'; import { Market_market } from './__generated__/Market'; import { GridTab, GridTabs } from './grid-tabs'; interface TradeGridProps { market: Market_market; } export const TradeGrid = ({ market }: TradeGridProps) => { const wrapperClasses = classNames( 'h-full max-h-full', 'grid gap-[1px] grid-cols-[1fr_325px_325px] grid-rows-[min-content_1fr_200px]', 'bg-black-10', 'text-ui' ); return (
{JSON.stringify(market.trades, null, 2)}