UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

20 lines (19 loc) 663 B
import type { DrawerProps as RCDrawerProps } from 'rc-drawer'; import * as React from 'react'; export interface DrawerPanelProps { prefixCls: string; title?: React.ReactNode; footer?: React.ReactNode; extra?: React.ReactNode; closable?: boolean; closeIcon?: React.ReactNode; onClose?: RCDrawerProps['onClose']; /** Wrapper dom node style of header and body */ drawerStyle?: React.CSSProperties; headerStyle?: React.CSSProperties; bodyStyle?: React.CSSProperties; footerStyle?: React.CSSProperties; children?: React.ReactNode; } declare const DrawerPanel: React.FC<DrawerPanelProps>; export default DrawerPanel;