symref
Version:
Static code checker for AI code agents (Windsurf, Cline, etc.)
20 lines • 1.23 kB
TypeScript
import React, { FC } from 'react';
declare function DeclarationComponent(): import("react/jsx-runtime").JSX.Element;
declare const ArrowComponent: () => import("react/jsx-runtime").JSX.Element;
declare const FunctionExpressionComponent: () => import("react/jsx-runtime").JSX.Element;
declare const TypedComponent: React.FC<{
name?: string;
}>;
declare const ShorthandTypedComponent: FC;
declare const HooksComponent: () => import("react/jsx-runtime").JSX.Element;
declare const MemoizedComponent: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
declare const ForwardRefComponent: React.ForwardRefExoticComponent<{
text: string;
} & React.RefAttributes<HTMLDivElement>>;
declare function PropsComponent(props: {
title: string;
}): import("react/jsx-runtime").JSX.Element;
declare const SomethingComponent: () => null;
declare const UserProfileComponent: () => import("react/jsx-runtime").JSX.Element;
export { DeclarationComponent, ArrowComponent, FunctionExpressionComponent, TypedComponent, ShorthandTypedComponent, HooksComponent, MemoizedComponent, ForwardRefComponent, PropsComponent, SomethingComponent, UserProfileComponent };
//# sourceMappingURL=FunctionComponentPatterns.test.d.ts.map