UNPKG

@arolariu/components

Version:

🎨 70+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

26 lines • 1.96 kB
import { type VariantProps } from "class-variance-authority"; import * as React from "react"; import { Label } from "./label"; declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element; declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & { variant?: "legend" | "label"; }): import("react/jsx-runtime").JSX.Element; declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element; declare const fieldVariants: (props?: { orientation?: "horizontal" | "vertical" | "responsive"; } & import("class-variance-authority/types").ClassProp) => string; declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element; declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element; declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element; declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element; declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element; declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & { children?: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & { errors?: Array<{ message?: string; } | undefined>; }): import("react/jsx-runtime").JSX.Element; export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle }; //# sourceMappingURL=field.d.ts.map