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
the option getComponentName also is set as the component file name
in our use case, i would like the file name to be kebab-case but the component name to still be pascal-case but that is not currently supported. I can set the getComponentName to return the kebab-case component names but that is not valid javascript component names
perhaps we can add an option that is getComponentFileName
The text was updated successfully, but these errors were encountered:
wuweiweiwu
changed the title
feature request:
feature request: separate out component name and component file name
May 20, 2022
for
'@figma-export/output-components-as-svgr'
the option
getComponentName
also is set as the component file namein our use case, i would like the file name to be
kebab-case
but the component name to still bepascal-case
but that is not currently supported. I can set thegetComponentName
to return thekebab-case
component names but that is not valid javascript component namesperhaps we can add an option that is
getComponentFileName
The text was updated successfully, but these errors were encountered: