@billingsdk/billing-settings-2loading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. IndexBM25 + vectors

Public log. Prompts, raw model errors and costs stay on the admin side.

Log
Demo source
src/demo.tsx · from an earlier run
"use client"import { useState } from "react"import { BillingSettings2 } from "@/components/billingsdk/billing-settings-2"export default function Demo() {  const [form, setForm] = useState({    fullName: "Jordan Lee",    billingEmail: "jordan@example.com",    taxId: "",  })  const [currency, setCurrency] = useState("usd")  const [renewal, setRenewal] = useState(true)  const [invoiceEmails, setInvoiceEmails] = useState(true)  const [promotions, setPromotions] = useState(false)  const update = (field: keyof typeof form) => (value: string) =>    setForm((current) => ({ ...current, [field]: value }))  return (    <BillingSettings2      inputFields={[        { id: "fullName", name: "fullName", value: form.fullName, placeholder: "Jordan Lee", onChange: update("fullName"), label: "Full Name", required: true },        { id: "billingEmail", name: "billingEmail", value: form.billingEmail, placeholder: "you@example.com", onChange: update("billingEmail"), label: "Billing Email", helperText: "Invoices will be sent to this email address", type: "email", required: true },        { id: "taxId", name: "taxId", value: form.taxId, placeholder: "EU123456789", onChange: update("taxId"), label: "Tax ID (Optional)", helperText: "For VAT or other tax purposes" },      ]}      currencies={["USD", "EUR", "GBP"]}      defaultCurrency={currency}      onCurrencyChange={setCurrency}      features={[        { id: "renewal", label: "Auto-Renewal", description: "Automatically renew your subscription", enabled: renewal, onToggle: setRenewal },        { id: "invoices", label: "Invoice Emails", description: "Receive emails when invoices are generated", enabled: invoiceEmails, onToggle: setInvoiceEmails },        { id: "promotions", label: "Promotional Emails", description: "Receive occasional updates about new features and offers", enabled: promotions, onToggle: setPromotions },      ]}    />  )}