UNPKG

@atlrdsgn/kit

Version:

An ever–expanding library of React components, primitives, and tools

25 lines (24 loc) • 726 B
import { default as React } from 'react'; import * as LABL from '@radix-ui/react-label'; type DataLabelProps = React.HTMLAttributes<HTMLLabelElement> & { htmlFor: string; label?: React.ReactNode; } & React.ComponentPropsWithRef<typeof LABL.Root>; export type InputLabelProps = DataLabelProps; /** ------------- Root ------------ */ export type DataDisplayProps = { label: React.ReactNode; meta?: React.ReactNode; value: React.ReactNode; className?: string; }; export declare const DataDisplay: { ({ className, label, meta, value, }: DataDisplayProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export {}; /** * * Example: */ //# sourceMappingURL=data.display.d.ts.map