@wordpress/components
Version:
UI components for WordPress.
8 lines • 493 B
TypeScript
/**
* 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