MS
Size: a a a
MS
m
MS
m
OR
MS
OR
NS
MS
MS
MS
type Factory<P> = (props?: Attributes & P, ...children: ReactNode[]) => ReactElement<P>;
OR
MS
interface FunctionComponent<P = {}> {
(props: PropsWithChildren<P>, context?: any): ReactElement | null;
propTypes?: WeakValidationMap<P>;
contextTypes?: ValidationMap<any>;
defaultProps?: Partial<P>;
displayName?: string;
}
MS