mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 00:36:39 +00:00
18 lines
303 B
TypeScript
18 lines
303 B
TypeScript
import React, { FC } from "react";
|
|
|
|
interface IProps {
|
|
picture: string;
|
|
}
|
|
export const Avatar: FC<IProps> = ({ picture }) => {
|
|
return (
|
|
<>
|
|
<img
|
|
className="circle"
|
|
src={picture}
|
|
height="100vh"
|
|
width="100vh"
|
|
alt="user avatar"
|
|
/>
|
|
</>
|
|
);
|
|
};
|