.account-balance {
box-shadow: rgb(85, 91, 255) 0px 0px 0px 3px, rgb(31, 193, 27) 0px 0px 0px 6px, rgb(255, 217, 19) 0px 0px 0px 9px, rgb(255, 156, 85) 0px 0px 0px 12px, rgb(255, 85, 85) 0px 0px 0px 15px;
display: block;
margin-left: 71rem;
margin-right: 71rem;
margin-bottom: 2rem;
font-size: medium;
text-align: center;
}
import React, { Component } from 'react';
import './AccountBalance.css';
import PropTypes from 'prop-types';
export default class AccountBalance extends Component {
render() {
return (
<section className="account-balance">
Balance: ${this.props.amount}
</section>
)
}
}
AccountBalance.propTypes = {
amount: PropTypes.number.isRequired
}