@orangecheck/design / EmailCaptureProps
Interface: EmailCaptureProps
Defined in: composites/email-capture.tsx:8
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-action"></a> action? | string | Native form action (e.g. a serverless handler or list endpoint). | composites/email-capture.tsx:10 |
<a id="property-classname"></a> className? | string | - | composites/email-capture.tsx:24 |
<a id="property-cta"></a> cta? | any | Submit button label. | composites/email-capture.tsx:19 |
<a id="property-method"></a> method? | string | Native form method. | composites/email-capture.tsx:12 |
<a id="property-name"></a> name? | string | Input name attribute. | composites/email-capture.tsx:16 |
<a id="property-note"></a> note? | any | Small reassurance line under the row (e.g. "no spam, unsubscribe anytime"). | composites/email-capture.tsx:21 |
<a id="property-onsubmit"></a> onSubmit? | (e: FormEvent<HTMLFormElement>) => void | Client-side submit handler — preventDefault yourself if intercepting. | composites/email-capture.tsx:14 |
<a id="property-placeholder"></a> placeholder? | string | - | composites/email-capture.tsx:17 |
<a id="property-tone"></a> tone? | "default" | "onBrand" | onBrand for placement on a terracotta/dark band. | composites/email-capture.tsx:23 |