UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

15 lines (14 loc) 617 B
/** * @license EUPL-1.2+ * Copyright (c) 2021 Robbert Broersma * Copyright Gemeente Amsterdam */ import type { LabelHTMLAttributes, PropsWithChildren } from 'react'; import { HintProps } from '../Hint'; export type LabelProps = PropsWithChildren<LabelHTMLAttributes<HTMLLabelElement>> & HintProps; export declare const Label: import("react").ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & { children?: import("react").ReactNode | undefined; } & import("react").HTMLAttributes<HTMLElement> & { hint?: string; optional?: boolean; } & import("react").RefAttributes<HTMLLabelElement>>;