Open SyMind opened 1 year ago
When my file name is app.tsx, the component name should be App, but now is app.
app.tsx
App
app
You can replace capitalize with pascalcase to handle more cases. For example, 'first-second' => FirstSecond
'first-second'
FirstSecond
When my file name is
app.tsx
, the component name should beApp
, but now isapp
.