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 { WheelPicker, WheelPickerWrapper, type WheelPickerOption } from "@/components/ui/wheel-picker"const pad = (n: number) => String(n).padStart(2, "0")const hours: WheelPickerOption[] = Array.from({ length: 12 }, (_, i) => ({ label: String(i + 1), value: String(i + 1),}))const minutes: WheelPickerOption[] = Array.from({ length: 12 }, (_, i) => ({ label: pad(i * 5), value: pad(i * 5),}))const periods: WheelPickerOption[] = [ { label: "AM", value: "AM" }, { label: "PM", value: "PM" },]export default function WheelPickerDemo() { const [hour, setHour] = useState<string>("9") const [minute, setMinute] = useState<string>("30") const [period, setPeriod] = useState<string>("AM") return ( <div className="flex w-full max-w-md items-center justify-center gap-2"> <WheelPickerWrapper> <WheelPicker options={hours} value={hour} onValueChange={setHour} /> </WheelPickerWrapper> <WheelPickerWrapper> <WheelPicker options={minutes} value={minute} onValueChange={setMinute} /> </WheelPickerWrapper> <WheelPickerWrapper> <WheelPicker options={periods} value={period} onValueChange={setPeriod} /> </WheelPickerWrapper> </div> )}