* Install/add components in base coss-ui package * fix components imports * add yarn script to pull * Update packagejson * remove skeleton duplicates * feat: allow importing components with the cli * fix: update exports in package.json to reference styles.css instead of globals.css * add lucide dep * refactor: re-pull components * refactor: remove unused registries section from components.json * refactor: implement changes suggested by Volnei * refactor(wip): implemet coss ui components on the profile page * fix src/src problem * update command to overwrite existing components * pulled from registry * restore globals.css * feat: add pull script * feat: enhance pull script with validation and error handling * remove duplicate components * refactor: reimport coss component and fix ts errors * fix: components pulling * chore: regenerate yarn.lock * chore: remove tailwindcss/forms * trying different moduleResolution * TypeScript requires module to also be "NodeNext". * remove unnecessary changes * type fixes plus resolve @coss/ui * use bundler tsconfig * add missing deps to features and ui * Add bundler to other packages * fix module enext resolution with bundler * remove reduant files * remove package json from features * revert unrelated change to the PR --------- Co-authored-by: pasqualevitiello <pasqualevitiello@gmail.com> Co-authored-by: Eunjae Lee <hey@eunjae.dev>
18 lines
345 B
TypeScript
18 lines
345 B
TypeScript
"use client";
|
|
|
|
import { Form as FormPrimitive } from "@base-ui/react/form";
|
|
|
|
import { cn } from "@coss/ui/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 };
|