UNPKG

@wordpress/components

Version:
8 lines 493 B
/** * External dependencies */ import type { ForwardRefExoticComponent, ElementType, PropsWithoutRef, RefAttributes, MemoExoticComponent } from 'react'; declare type ForwardedRefComponent<T extends ElementType, P> = ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>; export declare type MaybeMemoizedForwardedRefComponent<T extends ElementType, P> = MemoExoticComponent<ForwardedRefComponent<T, P>> | ForwardedRefComponent<T, P>; export {}; //# sourceMappingURL=types.d.ts.map