@abgov/react-components
Version:
Government of Alberta - UI components for React
24 lines (23 loc) • 756 B
TypeScript
import { GoabBlockAlignment, GoabBlockDirection, Margins, Spacing } from '@abgov/ui-components-common';
import { ReactNode } from 'react';
export interface WCProps extends Margins {
gap?: Spacing;
direction?: GoabBlockDirection;
alignment?: GoabBlockAlignment;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-block": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabBlockProps extends Margins {
gap?: Spacing;
direction?: GoabBlockDirection;
alignment?: GoabBlockAlignment;
testId?: string;
children?: ReactNode;
}
export declare function GoabBlock(props: GoabBlockProps): import("react/jsx-runtime").JSX.Element;