UNPKG

@utrecht/component-library-react

Version:

React component library bundle for the Municipality of Utrecht based on the NL Design System architecture

27 lines 933 B
/** * @license EUPL-1.2 * Copyright (c) 2020-2024 Frameless B.V. * Copyright (c) 2021-2024 Gemeente Utrecht */ import { HTMLAttributes } from 'react'; declare const APPEARANCE_VALUES: readonly ["lead", "small"]; export type ParagraphAppearance = (typeof APPEARANCE_VALUES)[number]; export declare const isParagraphAppearance: (x: unknown) => x is "lead" | "small"; export interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> { appearance?: ParagraphAppearance; /** * * @deprecated Use `appearance="lead"` instead */ lead?: boolean; /** * * @deprecated Use `appearance="small"` instead */ small?: boolean; } export declare const Paragraph: import("react").ForwardRefExoticComponent<ParagraphProps & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLParagraphElement>>; export {}; //# sourceMappingURL=Paragraph.d.ts.map