import type { ButtonHTMLAttributes } from "react"; import { cn } from "~/lib/utils"; export type ChatSwitchProps = Omit, "onChange" | "role"> & Readonly<{ checked: boolean; onCheckedChange: (checked: boolean) => void; }>; /** Chat-local accessible switch; avoids changing the generated Subframe primitive. */ export function ChatSwitch({ checked, onCheckedChange, className, disabled, ...props }: ChatSwitchProps): React.JSX.Element { return ( ); }