-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
LibdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Milestone
Description
From the readme
{{componentCamelcaseName}} - Camelcased input my-component becomes MyComponent
That's not entirely correct.
PascalCase: NewComponent;
camelCase: newComponent;
The reason I mention this is because I would like to request - if it's not too much hassle for you - to also have an actual componentCamelcaseName variable.
The reason behind my request is that I'm using react with scss modules. As a result, here's my use case
I import my styles with
import styles from "./my-component.module.scss";And I use it like
return (<div className={styles.myComponent}/>);
In order to be able to template myComponent I would need a componentCamelcaseName.
But yeah, either way, the current variable should be renamed to componentPascalCaseName
Thanks for your work and effort.
Metadata
Metadata
Assignees
Labels
LibdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request