PromoCursed/node_modules/antd/lib/collapse/CollapsePanel.d.ts
2024-08-20 23:25:37 +04:00

20 lines
669 B
TypeScript

import * as React from 'react';
export type CollapsibleType = 'header' | 'icon' | 'disabled';
export interface CollapsePanelProps {
key: string | number;
header: React.ReactNode;
/** @deprecated Use `collapsible="disabled"` instead */
disabled?: boolean;
className?: string;
style?: React.CSSProperties;
showArrow?: boolean;
prefixCls?: string;
forceRender?: boolean;
id?: string;
extra?: React.ReactNode;
collapsible?: CollapsibleType;
children?: React.ReactNode;
}
declare const CollapsePanel: React.ForwardRefExoticComponent<CollapsePanelProps & React.RefAttributes<HTMLDivElement>>;
export default CollapsePanel;