small changes

This commit is contained in:
2025-01-13 17:24:58 -05:00
parent 0eb54c6024
commit 85fdf25917
5 changed files with 33 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
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;

View File

@@ -1,6 +1,10 @@
"use client";
import { ChangeEvent, FC, useState } from "react";
import { brandType } from "src/types/brandType";
type brandType = {
id: number;
name: string;
};
interface Props {
brand: brandType;
changeBrandName: (id: number, name: string) => void;