UNPKG

@camped-ui/label

Version:

Label component is an essential element for rendering accessible labels associated with form controls. It plays a crucial role in enhancing the usability and accessibility of user interfaces by providing a clear and descriptive label for associated input

6 lines 470 B
import * as React from "react"; import * as LabelPrimitive from "@radix-ui/react-label"; import { type VariantProps } from "class-variance-authority"; declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>; export { Label }; //# sourceMappingURL=index.d.ts.map