Props for integrating the React component in your app.
renewalsreadonly Renewal[]- Dated occurrences with a unique id, service, YYYY-MM-DD date, non-negative integer amountMinor, and optional monthly or yearly cadence. Supply one occurrence per charge.
todaystring- Account-local date as YYYY-MM-DD. The host supplies it, so the billing date stays consistent across time zones.
currency / localestring- One ISO 4217 currency for the entire widget and its formatting locale. Defaults to EUR and en-IE.
layout"auto" | "compact" | "month"- The default adapts to the card width. Compact shows up to three charges per page, starting with the first page of the selected month.
renderLogo(renewal: Renewal) => ReactNode- Render an optional decorative icon for a service. The default shows the service initials.
onRenewalSelect(renewal: Renewal) => void- Receives the selected charge after a click or keyboard activation.