@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
23 lines (22 loc) • 910 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { HTMLAttributes, PropsWithChildren } from 'react';
export type ParagraphProps = {
/** Changes the text colour for readability on a dark background. */
color?: 'inverse';
/** The size of the text. */
size?: 'small' | 'large';
} & PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>;
/**
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-paragraph--docs Paragraph docs at Amsterdam Design System}
*/
export declare const Paragraph: import("react").ForwardRefExoticComponent<{
/** Changes the text colour for readability on a dark background. */
color?: "inverse";
/** The size of the text. */
size?: "small" | "large";
} & HTMLAttributes<HTMLParagraphElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLParagraphElement>>;