-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
Hi!
The following 'session':
~/skyscanner (master*) $ create-component-app
[Info] No config file detected, using defaults.
? Do you wanna choose a template No
? What kind of components do you want to create ? class
? What is the name of the component ? Foo
? Do you want to connect the component to redux ? No
? Do you want an index file on your folder ? Yes
? What kind of extension do you use for js files ? js
? What kind of extension do you use for style file ? scss
? Do you want a storybook file? No
? Do you want a test file? No
? Where do you want create your component ? ./client/src/components
[Info] Your component is created!
generated this:
class Foo extends Component {
constructor(props) {
super(props)
}
null
render() {
return (
<div className="Foo"></div>
);
}
}
See the null? Seems like a little issue.
Cheers - Victor
Metadata
Metadata
Assignees
Labels
No labels