@abgov/react-components
Version:
Government of Alberta - UI components for React
23 lines (22 loc) • 755 B
TypeScript
import { ReactNode } from 'react';
import { GoabIconType, GoabLinkButtonType, Margins } from '@abgov/ui-components-common';
interface WCProps extends Margins {
type?: GoabLinkButtonType;
leadingicon?: GoabIconType;
trailingicon?: GoabIconType;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-link-button": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
interface GoALinkButtonProps extends Margins {
type?: GoabLinkButtonType;
leadingIcon?: GoabIconType;
trailingIcon?: GoabIconType;
children: ReactNode;
}
export declare function GoALinkButton({ type, ...props }: GoALinkButtonProps): import("react/jsx-runtime").JSX.Element;
export default GoALinkButton;