1 | import * as PropTypes from 'prop-types';
|
2 | import * as React from 'react';
|
3 | import { RefProps } from './types';
|
4 | export default class RefForward extends React.Component<RefProps> {
|
5 | static displayName: string;
|
6 | static propTypes: {
|
7 | children: PropTypes.Validator<PropTypes.ReactElementLike>;
|
8 | innerRef: PropTypes.Validator<React.Ref<any>>;
|
9 | } | {
|
10 | children?: undefined;
|
11 | innerRef?: undefined;
|
12 | };
|
13 | handleRefOverride: (node: HTMLElement) => void;
|
14 | render(): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
|
15 | }
|
16 |
|
\ | No newline at end of file |