UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

26 lines (25 loc) 567 B
import React from 'react'; import Panel from './Panel'; interface ICollapseProps { /** * 根节点 class name */ className?: string; /** * 默认展开的panel的keys */ defaultActiveKey?: string[] | 'all' | 'none'; /** * 手风琴模式,最多智能打开一个折叠板 */ accordion?: boolean; } /** * 折叠面板组件封装 */ export default class Collapse extends React.Component<ICollapseProps, any> { static Panel: typeof Panel; getPanels(): any; render(): React.JSX.Element; } export {};