UNPKG

@utrecht/component-library-react

Version:

React component library bundle for the Municipality of Utrecht based on the NL Design System architecture

23 lines 1.06 kB
/** * @license EUPL-1.2 * Copyright (c) 2020-2024 Frameless B.V. * Copyright (c) 2021-2024 Gemeente Utrecht */ import { AnchorHTMLAttributes } from 'react'; declare const APPEARANCE: { readonly 'primary-action-button': "utrecht-button-link--primary-action"; readonly 'secondary-action-button': "utrecht-button-link--secondary-action"; readonly 'subtle-button': "utrecht-button-link--subtle"; }; export type ButtonLinkAppearance = keyof typeof APPEARANCE; export declare const isButtonLinkAppearance: (x: unknown) => x is "primary-action-button" | "secondary-action-button" | "subtle-button"; export interface ButtonLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'> { appearance?: ButtonLinkAppearance; external?: boolean; placeholder?: boolean; } export declare const ButtonLink: import("react").ForwardRefExoticComponent<ButtonLinkProps & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLAnchorElement>>; export {}; //# sourceMappingURL=ButtonLink.d.ts.map