Signin-ed Comonents
Course: PayTM project - chapter 20
1. Appbar
Section titled “1. Appbar”
Code
export const Appbar = () => { return <div className="shadow h-14 flex justify-between"> <div className="flex flex-col justify-center h-full ml-4"> PayTM App </div> <div className="flex"> <div className="flex flex-col justify-center h-full mr-4"> Hello </div> <div className="rounded-full h-12 w-12 bg-slate-200 flex justify-center mt-1 mr-2"> <div className="flex flex-col justify-center h-full text-xl"> U </div> </div> </div> </div>}2. Balance
Section titled “2. Balance”
Code
export const Balance = ({ value }) => { return <div className="flex"> <div className="font-bold text-lg"> Your balance </div> <div className="font-semibold ml-4 text-lg"> Rs {value} </div> </div>}3. Users component
Section titled “3. Users component”
Code
$1b4. SendMoney Component
Section titled “4. SendMoney Component”
Code
$1d