mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-23 14:43:09 +01:00
18 lines
310 B
TypeScript
18 lines
310 B
TypeScript
interface Props {
|
|
url: string;
|
|
name?: string;
|
|
}
|
|
export function GravatarFormatter({ url, name }: Props) {
|
|
return (
|
|
<div className="d-flex py-1 align-items-center">
|
|
<span
|
|
title={name}
|
|
className="avatar avatar-2 me-2"
|
|
style={{
|
|
backgroundImage: `url(${url})`,
|
|
}}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|