UNPKG

@uifabric/utilities

Version:

Fluent UI React utilities for building components.

18 lines (17 loc) 487 B
import * as React from 'react'; /** * Properties used by render function interface for providing overrideable render callbacks. * * @public * {@docCategory IComponentAsProps} */ export declare type IComponentAsProps<T> = T & { defaultRender?: React.ComponentType<T>; }; /** * Render function interface for providing overrideable render callbacks. * * @public * {@docCategory IComponentAs} */ export declare type IComponentAs<T> = React.ComponentType<IComponentAsProps<T>>;