@difizen/mana-react
Version:
23 lines • 721 B
TypeScript
import * as React from 'react';
import { Layout } from '../layout';
import { Pane } from './pane';
import './styles/index.less';
export interface SplitPanelProps {
prefixCls?: string;
className?: string;
direction?: Layout.direction;
id: string;
resizeKeep?: boolean;
useDomSize?: boolean;
children?: React.ReactNode | React.ReactNode[];
onResize?: (slot?: string) => void;
onSizeChanged?: (size: {
slot: string;
size: number;
}[]) => void;
}
export type SplitPanel = React.ForwardRefExoticComponent<SplitPanelProps & React.RefAttributes<HTMLDivElement>> & {
Pane: typeof Pane;
};
export declare const SplitPanel: SplitPanel;
//# sourceMappingURL=index.d.ts.map