UNPKG

@uifabric/utilities

Version:

Fluent UI React utilities for building components.

7 lines (6 loc) 227 B
import * as React from 'react'; export declare type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void); export declare type RefObject<T> = { (component: T | null): void; current: T | null; };