import clsx from 'classnames'; import * as React from 'react'; import { Layout } from '../layout'; import { BoxPanelContext } from './context'; import './styles/index.less'; export interface PaneProps { flex?: number; defaultSize?: number; overflow?: string; // id: string; zIndex?: number; style?: React.CSSProperties; className?: string; children?: React.ReactNode; } export const Pane: React.FC = ({ children, flex, overflow, defaultSize, // id, zIndex, style, className, }) => { return ( {({ prefixCls, direction }) => { const baseCls = `${prefixCls}-boxpanel`; return (
{children}
); }}
); };