Change Default Prop Type Name to FileNameProps in tsrafce Snippet
emreastarcioglu opened this issue · 0 comments
emreastarcioglu commented
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.
