@abgov/react-components
Version:
Government of Alberta - UI components for React
26 lines (25 loc) • 937 B
TypeScript
import { ReactNode } from 'react';
import { Margins } from '@abgov/ui-components-common';
interface WCProps extends Margins {
ref?: React.RefObject<HTMLElement | null>;
heading?: string;
"section-title"?: string;
"action-button-text"?: string;
"button-visibility"?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-public-subform-index": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
interface GoabPublicSubformIndexProps extends Margins {
heading?: string;
sectionTitle?: string;
actionButtonText?: string;
buttonVisibility?: "visible" | "hidden";
children: ReactNode;
}
export declare function GoabPublicSubformIndex({ heading, sectionTitle, actionButtonText, buttonVisibility, children, mt, mr, mb, ml, }: GoabPublicSubformIndexProps): import("react/jsx-runtime").JSX.Element;
export default GoabPublicSubformIndex;