We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can pass SFC components directly in ts.
export interface ComponentDecorator<TOwnProps> { <P extends FormComponentProps>( component: React.ComponentClass<P> ): React.ComponentClass<Omit<P, keyof FormComponentProps> & TOwnProps>; }
export interface ComponentDecorator<TOwnProps> { <P extends FormComponentProps>( component: React.ComponentClass<P> | React.SFC<P> ): React.ComponentClass<Omit<P, keyof FormComponentProps> & TOwnProps>; }
The text was updated successfully, but these errors were encountered:
@linmodev Could you send a PR?
Sorry, something went wrong.
@yesmeck ok
Restore indented.Fixed ant-design#8672
c4f05eb
b06ea24
No branches or pull requests
What problem does this feature solve?
You can pass SFC components directly in ts.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: