add react-express-mysql application sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
0d06c37791
commit
43f21f2d8d
46 changed files with 4786 additions and 0 deletions
26
samples/react-express-mysql/frontend/src/app/pages/home/HomePage.jsx
Executable file
26
samples/react-express-mysql/frontend/src/app/pages/home/HomePage.jsx
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
import * as React from "react";
|
||||
import { connect } from "react-redux";
|
||||
|
||||
require("./home.scss");
|
||||
|
||||
const mapStateToProps = (state, props) => {
|
||||
return {};
|
||||
};
|
||||
|
||||
const mapDispatchToProps = (dispatch) => {
|
||||
return {};
|
||||
};
|
||||
|
||||
class HomePage extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="home-page page">
|
||||
<h1>My New React App</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(HomePage)
|
||||
Loading…
Add table
Add a link
Reference in a new issue