Preview:```ts
import {ReactNode} from "react"
type FnCp<P = {}> = {(props: P): ReactNode}
function createMany<P1, P2>(
Comp1: FnCp<P1>,
Comp2: FnCp<P2>
): [FnCp<P1>, FnCp<P2>] {
return [Comp1, Comp2].map(comp => comp) as [
FnCp<P1>,
FnCp<P2>
]
}```
You can choose specific lines to embed by selecting them before copying the link.