Preview:```ts
import React, {FC} from "react"
type Props<TExtraProps> = {foo: string} & TExtraProps
declare function withFoo<TExtraProps>(
Component: FC<Props<TExtraProps>>
): TExtraProps
// Demo A
declare const CompA: FC<{a: string}>
const CompAAug = withFoo(CompA)
...```
You can choose specific lines to embed by selecting them before copying the link.