UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

27 lines (26 loc) 815 B
import * as React from 'react'; import CollapsePanel from './CollapsePanel'; export interface CollapseProps { activeKey?: Array<string> | string; defaultActiveKey?: Array<string>; /** 手风琴效果 */ accordion?: boolean; onChange?: (key: string | string[]) => void; style?: React.CSSProperties; className?: string; bordered?: boolean; prefixCls?: string; } export default class Collapse extends React.Component<CollapseProps, any> { static Panel: typeof CollapsePanel; static defaultProps: { prefixCls: string; bordered: boolean; openAnimation: { appear(): void; enter(node: HTMLElement, done: () => void): any; leave(node: HTMLElement, done: () => void): any; }; }; render(): JSX.Element; }