katoikia-app/web-ui/web-react/node_modules/primereact/splitter/splitter.d.ts

33 lines
803 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
type SplitterLayoutType = 'vertical' | 'horizontal';
type SplitterStateStorageType = 'session' | 'local';
interface SplitterResizeEndParams {
originalEvent: React.SyntheticEvent;
sizes: number[];
}
interface SplitterPanelProps {
size?: number;
minSize?: number;
style?: object;
className?: string;
}
export declare class SplitterPanel extends React.Component<SplitterPanelProps, any> { }
export interface SplitterProps {
id?: string;
className?: string;
style?: object;
layout?: SplitterLayoutType;
gutterSize?: number;
stateKey?: string;
stateStorage?: SplitterStateStorageType;
onResizeEnd?(e: SplitterResizeEndParams): void;
}
export declare class Splitter extends React.Component<SplitterProps, any> { }