export interface OverridableComponent < Component , Element extends HTMLElement > { ( props ) : ReturnType < React . FC > ; < As extends React . ElementType > ( props ) : ReturnType < React . FC > ; }