T

LooseComponent

A generated component that also accepts LooseProps, keeping its statics such as TableRow.Icon.

type LooseComponent<C> = C extends React.ComponentType<infer P> ? C & React.FunctionComponent<LooseProps<P>> : C