UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

17 lines (16 loc) 704 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { AnchorHTMLAttributes, PropsWithChildren } from 'react'; import type { IconProps } from '../Icon'; export type MenuLinkProps = { /** The icon to display for the menu icon. Use the filled variant. */ icon: IconProps['svg']; } & PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>; export declare const MenuLink: import("react").ForwardRefExoticComponent<{ /** The icon to display for the menu icon. Use the filled variant. */ icon: IconProps["svg"]; } & AnchorHTMLAttributes<HTMLAnchorElement> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLAnchorElement>>;