PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
import { type JSX } from 'react';
import { CLOUDFLARE_TURNSTILE_SITE_KEY } from '../../constants';
interface CloudflareTurnstileWidgetProps {
containerRef: React.RefObject<HTMLDivElement | null>;
}
export function CloudflareTurnstileWidget({
containerRef,
}: CloudflareTurnstileWidgetProps): JSX.Element | null {
if (!CLOUDFLARE_TURNSTILE_SITE_KEY) {
return null;
}
return <div ref={containerRef} className="mb-3" />;
}