add dashboard tabs component
This commit is contained in:
16
components/dashboard/wallet.tsx
Normal file
16
components/dashboard/wallet.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
const WalletTab = ({ balance }:any) => {
|
||||
return (
|
||||
<div className="bg-gray-800 text-white p-6 sm:p-8 rounded-2xl mb-8">
|
||||
<span className="text-gray-300 text-sm mb-2 block">
|
||||
موجودی فعلی حساب شما:
|
||||
</span>
|
||||
|
||||
<div className="text-3xl sm:text-4xl font-bold text-yellow-400">
|
||||
{balance}
|
||||
<span className="text-lg font-normal text-white"> تومان</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default WalletTab;
|
||||
Reference in New Issue
Block a user