@abgov/react-components
Version:
Government of Alberta - UI components for React
24 lines (23 loc) • 634 B
TypeScript
import { GoabIconType } from '@abgov/ui-components-common';
import { JSX } from 'react';
interface WCProps {
text: string;
action: string;
icon?: GoabIconType;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-menu-action": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabMenuActionProps {
text: string;
action: string;
icon?: GoabIconType;
testId?: string;
}
export declare function GoabMenuAction({ text, icon, action, testId }: GoabMenuActionProps): JSX.Element;
export default GoabMenuAction;