Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- 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
import { useState } from "react"import { BillingSettings } from "@/components/billingsdk/billing-settings"export default function BillingSettingsDemo() { const [activeTab, setActiveTab] = useState("general") const [emailNotifications, setEmailNotifications] = useState(true) const [usageAlerts, setUsageAlerts] = useState(true) const [invoiceReminders, setInvoiceReminders] = useState(false) const [invoiceFormat, setInvoiceFormat] = useState<"PDF" | "HTML">("PDF") const [overageProtection, setOverageProtection] = useState(true) const [usageLimitAlerts, setUsageLimitAlerts] = useState(true) return ( <BillingSettings activeTab={activeTab} onTabChange={setActiveTab} emailNotifications={emailNotifications} onEmailNotificationsChange={setEmailNotifications} usageAlerts={usageAlerts} onUsageAlertsChange={setUsageAlerts} invoiceReminders={invoiceReminders} onInvoiceRemindersChange={setInvoiceReminders} cards={[{ id: "card-1", last4: "4242", brand: "Visa", expiry: "12/25", primary: true }]} onAddCard={() => undefined} invoiceFormat={invoiceFormat} onInvoiceFormatChange={setInvoiceFormat} onEditBillingAddress={() => undefined} overageProtection={overageProtection} onOverageProtectionChange={setOverageProtection} usageLimitAlerts={usageLimitAlerts} onUsageLimitAlertsChange={setUsageLimitAlerts} /> )}