- migrate web UI to shared Base UI primitives (alerts, buttons, combobox, toast, etc.) - refactor chat and branch toolbars to use new components and cleaner interactions - add cross-platform file-manager fallback in `openInEditor` server handling - update model contracts/tests and web dependencies to support new UI flow
18 lines
338 B
TypeScript
18 lines
338 B
TypeScript
"use client";
|
|
|
|
import { Form as FormPrimitive } from "@base-ui/react/form";
|
|
|
|
import { cn } from "~/lib/utils";
|
|
|
|
function Form({ className, ...props }: FormPrimitive.Props) {
|
|
return (
|
|
<FormPrimitive
|
|
className={cn("flex w-full flex-col gap-4", className)}
|
|
data-slot="form"
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Form };
|