@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
26 lines (25 loc) • 1.16 kB
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import type { HTMLAttributes, PropsWithChildren } from 'react';
export type PageMenuProps = {
/** Whether the items align to the end margin. Set to `true` if the Page Menu itself does so. */
alignEnd?: boolean;
/** Whether menu items should wrap if they don’t fit on a single row. */
wrap?: boolean;
} & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
export declare const PageMenu: import("react").ForwardRefExoticComponent<{
/** Whether the items align to the end margin. Set to `true` if the Page Menu itself does so. */
alignEnd?: boolean;
/** Whether menu items should wrap if they don’t fit on a single row. */
wrap?: boolean;
} & HTMLAttributes<HTMLUListElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLUListElement>> & {
Link: import("react").ForwardRefExoticComponent<{
icon?: Function;
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLAnchorElement>>;
};