Estado inicial: frontend React + backend Laravel
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
type UserCardProps = {
|
||||
name: string;
|
||||
email: string;
|
||||
role: string;
|
||||
|
||||
};
|
||||
|
||||
export default function UserCard({ name, email, role }: UserCardProps) {
|
||||
return (
|
||||
<div className="border rounded-3 p-3">
|
||||
<p className="fw-bold">Nome: {name}</p>
|
||||
<p className="fw-bold">Email: {email}</p>
|
||||
<p className="fw-bold">Cargo: {role}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user