@abgov/react-components
Version:
Government of Alberta - UI components for React
22 lines (21 loc) • 608 B
TypeScript
import { GoabPageBlockSize } from '@abgov/ui-components-common';
import { ReactNode, JSX } from 'react';
interface WCProps {
width?: GoabPageBlockSize;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-page-block": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabPageBlockProps {
width?: GoabPageBlockSize;
testId?: string;
children?: ReactNode;
}
export type PageBlockProps = GoabPageBlockProps;
export declare function GoabPageBlock(props: PageBlockProps): JSX.Element;
export {};