UNPKG

869 BTypeScriptView Raw
1import { Component } from 'react';
2import { ModalFuncProps } from './Modal';
3export interface SidebarState {
4 open: boolean;
5}
6export interface SidebarProps extends ModalFuncProps {
7 close?: (...args: any[]) => void;
8 alwaysCanCancel?: boolean;
9}
10export default class Sidebar extends Component<SidebarProps, {}> {
11 static displayName: string;
12 static defaultProps: {
13 width: string;
14 transitionName: string;
15 maskTransitionName: string;
16 confirmLoading: boolean;
17 alwaysCanCancel: boolean;
18 visible: boolean;
19 okType: string;
20 funcType: string;
21 };
22 state: SidebarState;
23 constructor(props: any);
24 handleCancel: (e: any) => void;
25 handleOk: (e: any) => void;
26 renderFooter: () => JSX.Element;
27 handleStatus: () => void;
28 getPrefixCls(): string;
29 render(): JSX.Element;
30}