1 | import React from 'react';
|
2 | import type { IDialogPropTypes } from '../../IDialogPropTypes';
|
3 | export 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 | }
|
10 | export type ContentRef = {
|
11 | focus: () => void;
|
12 | changeActive: (next: boolean) => void;
|
13 | };
|
14 | declare const Panel: React.ForwardRefExoticComponent<PanelProps & React.RefAttributes<ContentRef>>;
|
15 | export default Panel;
|