mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Update CollapsePanelProps -> onChange function (#7084)
parameter key should be either an array of string(general) or string(accordion mode), right?
This commit is contained in:
parent
4880b6ec16
commit
6e2ace3ba8
@ -8,7 +8,7 @@ export interface CollapseProps {
|
||||
defaultActiveKey?: Array<string>;
|
||||
/** 手风琴效果 */
|
||||
accordion?: boolean;
|
||||
onChange?: (key: string) => void;
|
||||
onChange?: (key: string | string[]) => void;
|
||||
style?: React.CSSProperties;
|
||||
className?: string;
|
||||
bordered?: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user