Plumbing only: the widget-type literal and its dtype table on both sides, the regenerated client, a curated lucide map and four stubs the renderers are wired to. Also a latching switch and a segmented dropdown, both a `style` on the control that already publishes and reads back, plus the option editor a dropdown never had.
7 lines
222 B
TypeScript
7 lines
222 B
TypeScript
import type { WidgetProps } from "./widgets"
|
|
|
|
/** A clock — a stub until the clock widget is written. */
|
|
export function ClockWidget(_props: WidgetProps) {
|
|
return <p className="text-sm text-muted-foreground">—</p>
|
|
}
|