MCPcopy Create free account
hub / github.com/codemistic/Web-Development / ExpenseItem

Function ExpenseItem

src/components/Expenses/ExpenseItem.js:7–20  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

5import './ExpenseItem.css';
6
7const ExpenseItem = (props) => {
8 return (
9 <li>
10 <Card className='expense-item'>
11 <ExpenseDate date={props.date} />
12 <div className='expense-item__description'>
13 <h2>{props.title}</h2>
14 <div className='expense-item__price'>${props.amount}</div>
15 </div>
16 </Card>
17 </li>
18
19 );
20}
21
22export default ExpenseItem;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected