amis-rpc-design/node_modules/rc-resize-observer/lib/SingleObserver/DomWrapper.d.ts

11 lines
360 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import * as React from 'react';
export interface DomWrapperProps {
children: React.ReactElement;
}
/**
* Fallback to findDOMNode if origin ref do not provide any dom element
*/
export default class DomWrapper extends React.Component<DomWrapperProps> {
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> & React.ReactNode;
}