Skip to content

Instantly share code, notes, and snippets.

@clc80
Last active June 4, 2018 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clc80/d1b5d47a8f78ad41374227decccc61c1 to your computer and use it in GitHub Desktop.
Save clc80/d1b5d47a8f78ad41374227decccc61c1 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import Form from './components/Form'
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.state = {
formItems: ['one', 'two', 'three']
}
}
render() {
return (
<div className="App">
< Form />
</div>
);
}
}
export default App;
import React, { Component } from 'react';
class Form extends Component {
render() {
return(
<div className="Form">
<h1>Form goes here</h1>
</div>
);
}
}
export default Form;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment