@abgov/react-components
Version:
Government of Alberta - UI components for React
30 lines (29 loc) • 1.04 kB
TypeScript
import { GoabCalloutAriaLive, GoabCalloutSize, GoabCalloutType, GoabCalloutIconTheme, Margins } from '@abgov/ui-components-common';
interface WCProps extends Margins {
heading?: string;
type?: GoabCalloutType;
size?: GoabCalloutSize;
arialive?: GoabCalloutAriaLive;
maxwidth?: string;
icontheme?: GoabCalloutIconTheme;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-callout": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabCalloutProps extends Margins {
heading?: string;
type?: GoabCalloutType;
size?: GoabCalloutSize;
iconTheme?: GoabCalloutIconTheme;
maxWidth?: string;
testId?: string;
ariaLive?: GoabCalloutAriaLive;
children?: React.ReactNode;
}
export declare const GoabCallout: ({ heading, type, iconTheme, size, maxWidth, testId, ariaLive, children, mt, mr, mb, ml, }: GoabCalloutProps) => import("react/jsx-runtime").JSX.Element;
export default GoabCallout;