ConceptPortal-public/rsconcept/frontend/src/pages/UserProfilePage/UserProfile.tsx

15 lines
340 B
TypeScript
Raw Normal View History

2023-07-20 17:11:03 +03:00
import { IUserProfile } from '../../utils/models';
2023-07-15 17:46:19 +03:00
interface UserProfileProps {
profile: IUserProfile
}
export function UserProfile({profile}: UserProfileProps) {
return (
<div className='flex justify-center'>
<p>username: {profile.username}</p>
<p>email: {profile.email}</p>
</div>
);
}