1 | import * as PropTypes from 'prop-types';
|
2 | import * as React from 'react';
|
3 | export interface RefProps {
|
4 | children: React.ReactElement<any>;
|
5 | /**
|
6 | * Called when a child component will be mounted or updated.
|
7 | *
|
8 | * @param {HTMLElement} node - Referred node.
|
9 | */
|
10 | innerRef: React.Ref<any>;
|
11 | }
|
12 | /** A checker that matches the React.Ref type. */
|
13 | export declare const refPropType: PropTypes.Requireable<React.Ref<any>>;
|