altcha
Version:
Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.
36 lines (35 loc) • 857 B
TypeScript
import './global';
import type { CSSVariables, WidgetAttributes } from './';
export {};
interface AltchaWidgetReact extends WidgetAttributes {
children?: any;
ref?: AltchaWidgetReactRefObject<HTMLElement>;
style?: Partial<CSSVariables>;
suppressHydrationWarning?: boolean;
}
interface AltchaWidgetReactRefObject<T> {
current: T | null;
}
declare global {
namespace React {
namespace JSX {
interface IntrinsicElements {
'altcha-widget': AltchaWidgetReact;
}
}
}
}
declare module 'react' {
namespace JSX {
interface IntrinsicElements {
'altcha-widget': AltchaWidgetReact;
}
}
}
declare module 'react/jsx-runtime' {
namespace JSX {
interface IntrinsicElements {
'altcha-widget': AltchaWidgetReact;
}
}
}