import { AccountProps } from "@src/app/Accounts/page";
import React from "react";


export const Account: React.FC<AccountProps> = ({ account }) => {
  return (
    <div className="account-card">
      <h2>{account.name}</h2>
      <p>{account.email}</p>
      {/* Add more fields as necessary */}
    </div>
  );
};
export default Account;