@abgov/react-components
Version:
Government of Alberta - UI components for React
29 lines (28 loc) • 846 B
TypeScript
import { JSX } from 'react';
interface WCProps {
heading?: string;
url?: string;
maxcontentwidth?: string;
fullmenubreakpoint?: number;
hasmenuclickhandler?: string;
ref: React.RefObject<HTMLElement | null>;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-app-header": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabAppHeaderProps {
heading?: string;
url?: string;
maxContentWidth?: string;
fullMenuBreakpoint?: number;
children?: React.ReactNode;
onMenuClick?: () => void;
testId?: string;
}
export declare function GoabAppHeader({ heading, url, maxContentWidth, fullMenuBreakpoint, testId, children, onMenuClick, }: GoabAppHeaderProps): JSX.Element;
export default GoabAppHeader;