Files
starface-outlook-sync-addin/node_modules/@fluentui/utilities/lib-commonjs/initializeComponentRef.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

10 lines
433 B
TypeScript

import * as React from 'react';
import type { IBaseProps } from './BaseComponent.types';
/**
* Helper to manage componentRef resolution. Internally appends logic to
* lifetime methods to resolve componentRef to the passed in object.
*
* Usage: call initializeComponentRef(this) in the constructor,
*/
export declare function initializeComponentRef<TProps extends IBaseProps, TState>(obj: React.Component<TProps, TState>): void;