Skip to content
New issue

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

Allow to not use FC<Type> #147

Open
danielo515 opened this issue Nov 5, 2021 · 1 comment
Open

Allow to not use FC<Type> #147

danielo515 opened this issue Nov 5, 2021 · 1 comment

Comments

@danielo515
Copy link

Hello again.
Thanks for this time saving extension.
I was wondering if it will be possible to configure it to not use the FC<Type> type utility. It is not recommended and not all codebases follow that convention. It is taking me a lot of time to manually change those to the (props: Type) => that we use.

Thanks in advance

@maurer2
Copy link

maurer2 commented Mar 9, 2022

Hello, as a workaround you could use VFC<Type> or VoidFunctionComponent<Type>.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants