UNPKG

@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) 849 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { AnchorHTMLAttributes } from 'react'; type LinkVariant = 'standalone' | 'inline'; export type LinkProps = { /** Changes the text colour for readability on a light or dark background. */ color?: 'contrast' | 'inverse'; /** Whether the link is inline or stands alone. */ variant?: LinkVariant; } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>; export declare const Link: import("react").ForwardRefExoticComponent<{ /** Changes the text colour for readability on a light or dark background. */ color?: "contrast" | "inverse"; /** Whether the link is inline or stands alone. */ variant?: LinkVariant; } & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & import("react").RefAttributes<HTMLAnchorElement>>; export {};