1 | import React from 'react';
|
2 | import type { CollapsePanelProps, CollapseProps, ItemType } from '../interface';
|
3 | type Props = Pick<CollapsePanelProps, 'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'> & Pick<CollapseProps, 'accordion' | 'collapsible' | 'destroyInactivePanel'> & {
|
4 | activeKey: React.Key[];
|
5 | };
|
6 | declare function useItems(items?: ItemType[], rawChildren?: React.ReactNode, props?: Props): React.ReactElement<CollapsePanelProps>[];
|
7 | export default useItems;
|