mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
small changes
This commit is contained in:
14
src/components/Account/index.tsx
Normal file
14
src/components/Account/index.tsx
Normal 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;
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user