react-honeypot-field
    Preparing search index...

    Interface UseHoneypotReturn

    interface UseHoneypotReturn {
        fieldProps: HoneypotFieldProps_Internal;
        mountedAt: number;
        validate: () => HoneypotResult;
    }
    Index

    Properties

    fieldProps: HoneypotFieldProps_Internal

    Props to spread onto <HoneypotField />.

    mountedAt: number

    Unix timestamp (ms) when the hook mounted. Pass to server for server-side time-threshold checks.

    validate: () => HoneypotResult

    Client-side validation. Call before submitting.