Last active
January 24, 2017 05:02
-
-
Save ryanjyost/ec267d65f7bcd8b6b8866a1a5a2a0529 to your computer and use it in GitHub Desktop.
Pre-Redux: src/rainy-day-fund/src/Expenses.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//src/components/Expenses.js | |
import React from 'react'; | |
import { Link } from 'react-router' | |
import { Button } from 'react-bootstrap'; | |
import Expense from './Expense' | |
import TotalExpenses from './TotalExpenses' | |
const Expenses = () => { | |
return ( | |
<div id="Expenses"> | |
<h4 id="expense-header">What are your monthly expenses?</h4> | |
<Button id="add-expense-btn" block> | |
Add an expense | |
</Button> | |
<ul id="expense-list"> | |
<Expense/> | |
<Expense/> | |
<Expense/> | |
</ul> | |
<TotalExpenses/><br/> | |
<Button className="nav-btn" block> | |
<Link className="link" to="savings-plan">Go to Your Savings Plan</Link> | |
</Button> | |
</div> | |
); | |
} | |
export default Expenses; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment