chore: update ant-design dependencies and add new icon types

This commit is contained in:
Luiz Costa
2025-11-18 09:39:51 -03:00
parent 775e562fe9
commit 5c0094d74e
22648 changed files with 2140248 additions and 29 deletions
+25
View File
@@ -0,0 +1,25 @@
import * as React from 'react';
import { Collection } from './Collection';
import { _rs } from './utils/observerUtil';
export {
/** @private Test only for mock trigger resize event */
_rs, };
export interface SizeInfo {
width: number;
height: number;
offsetWidth: number;
offsetHeight: number;
}
export type OnResize = (size: SizeInfo, element: HTMLElement) => void;
export interface ResizeObserverProps {
/** Pass to ResizeObserver.Collection with additional data */
data?: any;
children: React.ReactNode | ((ref: React.RefObject<any>) => React.ReactElement);
disabled?: boolean;
/** Trigger if element resized. Will always trigger when first time render. */
onResize?: OnResize;
}
declare const RefResizeObserver: React.ForwardRefExoticComponent<ResizeObserverProps & React.RefAttributes<any>> & {
Collection: typeof Collection;
};
export default RefResizeObserver;