UNPKG

559 BTypeScriptView Raw
1import React from 'react';
2import type { IDialogPropTypes } from '../../IDialogPropTypes';
3export interface PanelProps extends Omit<IDialogPropTypes, 'getOpenCount'> {
4 prefixCls: string;
5 ariaId?: string;
6 onMouseDown?: React.MouseEventHandler;
7 onMouseUp?: React.MouseEventHandler;
8 holderRef?: React.Ref<HTMLDivElement>;
9}
10export type ContentRef = {
11 focus: () => void;
12 changeActive: (next: boolean) => void;
13};
14declare const Panel: React.ForwardRefExoticComponent<PanelProps & React.RefAttributes<ContentRef>>;
15export default Panel;