Files
agency/.pnpm-store/v3/files/1d/8353bcef38a0121841b87d19a521bf473bd52a19144fa93eb6552625c36567a080a3a9729bf64cc12eab6e936827119347ae8319f49d2224a508706da02d2c
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

29 lines
1.0 KiB
Plaintext

import { WaitlistEntry } from './client';
export interface WaitlistJoinProps {
/** Slug or id of the waitlist. */
waitlist: string;
/** Base server URL. Defaults to current origin. */
baseUrl?: string;
/** Copy. */
title?: string;
subtitle?: string;
submitLabel?: string;
/** Cloudflare Turnstile token, if Turnstile is enabled server-side. */
turnstileToken?: string;
/** Pre-fill the email field. */
email?: string;
/** Fires with the new entry after a successful POST /join. */
onSuccess?: (entry: WaitlistEntry) => void;
/** Fires on validation OR server error. */
onError?: (err: {
message: string;
status: number;
}) => void;
}
/**
* Pure join form. No localStorage, no success view — that's the composer's
* job (see <Waitlist>). Drops a single POST /v1/waitlist/join and notifies
* onSuccess/onError. Pre-fills the referrerCode from storage if present.
*/
export declare function WaitlistJoin(props: WaitlistJoinProps): import("react").JSX.Element;