@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
20 lines (19 loc) • 879 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { HTMLAttributes, PropsWithChildren } from 'react';
export type PageHeadingProps = {
/** Changes the text colour for readability on a dark background. */
color?: 'inverse';
} & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
/**
* @deprecated We no longer use this size of headings. Use `Heading` with level 1 instead.
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-page-heading--docs Page Heading docs at Amsterdam Design System}
*/
export declare const PageHeading: import("react").ForwardRefExoticComponent<{
/** Changes the text colour for readability on a dark background. */
color?: "inverse";
} & HTMLAttributes<HTMLHeadingElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLHeadingElement>>;