2021-10-11 21:35:40 +02:00
|
|
|
/* eslint-disable @typescript-eslint/ban-types */
|
2021-10-11 03:25:02 +02:00
|
|
|
import type { FC, ComponentClass } from "react";
|
|
|
|
|
|
|
|
export type ReactComponent<Props extends Record<string, unknown> = {}> =
|
|
|
|
| ((props: Props) => ReturnType<FC>)
|
2021-10-11 21:35:40 +02:00
|
|
|
| ComponentClass<Props>;
|