Anyone know how to use yarn generate for react components? My Google search is burning time. Thanks
Just trying to create a component.
My Google search is burning time. Thanks
1 Reply
I'm not sure what is the requirement: Do you only want to create a component? Do you have to use a
generator
?
To create a component you can simply create a .jsx
or .tsx
file, create a function and return JSX: