I need 2 files to create a new component in React:
$ {NAME} .js
import React from 'react'; import css from './${NAME}.css'; const ${NAME} = () => ( <div></div> ); export default ${NAME};
$ {NAME} .css
Note: $ {NAME} must be entered as a constant when creating these files.
I would like to use the file template function (or some other simple way) to create both files - only to create a component, for example, in the image below:

Is something like this possible?
source share