mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 21:10:38 +03:00
15 lines
334 B
TypeScript
15 lines
334 B
TypeScript
![]() |
import { IUserProfile } from '../../models';
|
||
|
|
||
|
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>
|
||
|
);
|
||
|
}
|