You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I frequently use the tsrafce snippet to create functional components with prop type definitions. Currently, the generated prop type name is Props. However, in order to prevent naming conflicts and to streamline global searches within my project, I've been manually renaming it to FileNameProps.
Would it be possible to configure the default behavior of this snippet so that it automatically uses FileNameProps as the prop type name based on the file it's in? This small change would significantly enhance my workflow.
Attached image is displaying the behavior I expect.
The text was updated successfully, but these errors were encountered:
I frequently use the tsrafce snippet to create functional components with prop type definitions. Currently, the generated prop type name is Props. However, in order to prevent naming conflicts and to streamline global searches within my project, I've been manually renaming it to FileNameProps.
Would it be possible to configure the default behavior of this snippet so that it automatically uses FileNameProps as the prop type name based on the file it's in? This small change would significantly enhance my workflow.
Attached image is displaying the behavior I expect.
The text was updated successfully, but these errors were encountered: