6 lines
193 B
TypeScript
6 lines
193 B
TypeScript
![]() |
|
||
|
import type { FC, ComponentClass } from "react";
|
||
|
|
||
|
export type ReactComponent<Props extends Record<string, unknown> = {}> =
|
||
|
| ((props: Props) => ReturnType<FC>)
|
||
|
| ComponentClass<Props>;
|