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

40 lines
1.6 KiB
Plaintext

import { WaitlistEntry } from './client';
import { WaitlistJoinProps } from './Join';
import { SharePlatformId, ShareTarget } from './Share';
export type WaitlistMode = 'inline' | 'modal';
export type WaitlistTheme = 'auto' | 'light' | 'dark';
export interface WaitlistProps {
/** Slug or id of the waitlist on the Base server. */
waitlist: string;
/** Where the Base server lives. Defaults to current origin. */
baseUrl?: string;
/** Layout: `inline` renders the form in place, `modal` renders a button that opens it. */
mode?: WaitlistMode;
/** Light / dark / `auto` (follow OS). */
theme?: WaitlistTheme;
/** Consumer-provided logo (rendered above the title in both Join and Status). */
logo?: React.ReactNode;
/** Join form copy + Turnstile token. */
title?: WaitlistJoinProps['title'];
subtitle?: WaitlistJoinProps['subtitle'];
submitLabel?: WaitlistJoinProps['submitLabel'];
turnstileToken?: WaitlistJoinProps['turnstileToken'];
/** Status view copy. */
successTitle?: string;
successSubtitle?: (entry: WaitlistEntry) => string;
/** Optional CTA before user submits (modal mode). */
triggerLabel?: string;
/** Toggle pieces of the status view. */
hideShare?: boolean;
hideInvite?: boolean;
hidePoints?: boolean;
shareTargets?: Array<SharePlatformId | ShareTarget>;
/** Forward to root container. */
className?: string;
style?: React.CSSProperties;
/** Callbacks. */
onSuccess?: (entry: WaitlistEntry) => void;
onError?: WaitlistJoinProps['onError'];
}
export declare function Waitlist(props: WaitlistProps): import("react").JSX.Element;