amis-rpc-design/node_modules/rc-resize-observer/lib/SingleObserver/index.d.ts
2023-10-07 19:42:30 +08:00

8 lines
396 B
TypeScript

import * as React from 'react';
import type { ResizeObserverProps } from '..';
export interface SingleObserverProps extends ResizeObserverProps {
children: React.ReactElement | ((ref: React.RefObject<Element>) => React.ReactElement);
}
declare const RefSingleObserver: React.ForwardRefExoticComponent<SingleObserverProps & React.RefAttributes<HTMLElement>>;
export default RefSingleObserver;