@abgov/react-components
Version:
Government of Alberta - UI components for React
30 lines (29 loc) • 865 B
TypeScript
import { JSX } from 'react';
interface WCProps {
heading: string;
backgroundurl?: string;
minheight?: string;
maxcontentwidth?: string;
backgroundcolor?: string;
textcolor?: string;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-hero-banner": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabHeroBannerProps {
heading: string;
backgroundUrl?: string;
minHeight?: string;
testId?: string;
children?: React.ReactNode;
maxContentWidth?: string;
backgroundColor?: string;
textColor?: string;
}
export declare function GoabHeroBanner({ heading, backgroundUrl, minHeight, maxContentWidth, backgroundColor, textColor, children, testId, }: GoabHeroBannerProps): JSX.Element;
export default GoabHeroBanner;