UNPKG

@amsterdam/design-system-react

Version:

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

22 lines (21 loc) 813 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ /** * @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 = HintProps & PropsWithChildren<LabelHTMLAttributes<HTMLLabelElement>>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-label--docs Label docs at Amsterdam Design System} */ export declare const Label: import("react").ForwardRefExoticComponent<{ hint?: string; optional?: boolean; } & import("react").HTMLAttributes<HTMLElement> & { children?: import("react").ReactNode | undefined; } & LabelHTMLAttributes<HTMLLabelElement> & import("react").RefAttributes<HTMLLabelElement>>;