mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-22 03:49:47 +00:00
10 lines
261 B
TypeScript
10 lines
261 B
TypeScript
import type { Certificate } from "src/api/backend";
|
|
import { T } from "src/locale";
|
|
|
|
interface Props {
|
|
certificate?: Certificate;
|
|
}
|
|
export function CertificateFormatter({ certificate }: Props) {
|
|
return <T id={certificate ? "lets-encrypt" : "http-only"} />;
|
|
}
|