A form for customers to log in and retrieve their order history. When they enter their email address, they receive a link to a Fontdue-hosted page to view orders.
<fontdue-customer-login-form
submit-label="Look up orders"
></fontdue-customer-login-form>
import CustomerLoginForm from "fontdue-js/CustomerLoginForm";
<CustomerLoginForm submitLabel="Look up orders" />
The Customer Login Form is always lazy – it runs entirely in the browser against the visitor’s session, so it takes no preloadedQuery.
| Property | Description | Type |
|---|---|---|
submit-label |
Label for the submit button, defaults to “Submit” | string |
| Prop | Description | Type |
|---|---|---|
submitLabel |
Label for the submit button, defaults to “Submit” | string |