@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
21 lines (20 loc) • 878 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { AnchorHTMLAttributes, PropsWithChildren } from 'react';
import type { IconProps } from '../Icon';
export type PageHeaderMenuLinkProps = {
/** Whether the link appears in the Page Header on narrow windows. */
fixed?: boolean;
/** An icon to display at the end of the label. */
icon?: IconProps['svg'];
} & PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
export declare const PageHeaderMenuLink: import("react").ForwardRefExoticComponent<{
/** Whether the link appears in the Page Header on narrow windows. */
fixed?: boolean;
/** An icon to display at the end of the label. */
icon?: IconProps["svg"];
} & AnchorHTMLAttributes<HTMLAnchorElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLAnchorElement>>;