first commit
This commit is contained in:
14
frontend/node_modules/antd/lib/splitter/hooks/useItems.d.ts
generated
vendored
Normal file
14
frontend/node_modules/antd/lib/splitter/hooks/useItems.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import * as React from 'react';
|
||||
import type { PanelProps } from '../interface';
|
||||
export type ItemType = Omit<PanelProps, 'collapsible'> & {
|
||||
collapsible: {
|
||||
start?: boolean;
|
||||
end?: boolean;
|
||||
showCollapsibleIcon: 'auto' | boolean;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* Convert `children` into `items`.
|
||||
*/
|
||||
declare function useItems(children: React.ReactNode): ItemType[];
|
||||
export default useItems;
|
||||
Reference in New Issue
Block a user