This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
type Omit<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never; | |
type ExtractProps<TComponentOrTProps> = TComponentOrTProps extends React.ComponentType< | |
infer P | |
> | |
? P | |
: never; | |
interface InjectedProps { |