BAEL-4842 - Use React and Spring Boot to Build a Simple CRUD App
Initial source module for the article
This commit is contained in:
20
spring-boot-modules/spring-boot-react/frontend/src/Home.js
Normal file
20
spring-boot-modules/spring-boot-react/frontend/src/Home.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React, { Component } from 'react';
|
||||
import './App.css';
|
||||
import AppNavbar from './AppNavbar';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { Button, Container } from 'reactstrap';
|
||||
|
||||
class Home extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<AppNavbar/>
|
||||
<Container fluid>
|
||||
<Button color="link"><Link to="/clients">Clients</Link></Button>
|
||||
</Container>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default Home;
|
||||
Reference in New Issue
Block a user