UNPKG

@graphql-hive/laboratory

Version:

26 lines (25 loc) 1.95 kB
import { VariantProps } from 'class-variance-authority'; import { Label } from './label'; import { ClassProp } from 'class-variance-authority/types'; 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" | null | undefined; } & ClassProp) | undefined) => 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 | null; export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };