import { useState } from "react"; import type { WidgetProps } from "./types"; export function FallbackWidget({ descriptor, onRespond }: WidgetProps) { const [text, setText] = useState(""); return (
Unsupported widget (kind: {descriptor.widget}) — respond manually
{JSON.stringify(descriptor, null, 2)}