Type alias ComponentRef<T>

ComponentRef<T>: T extends NamedExoticComponent<ComponentPropsWithoutRef<T> & RefAttributes<infer Method>>
    ? Method
    : ComponentPropsWithRef<T> extends RefAttributes<infer Method>
        ? Method
        : never

Type Parameters