UNPKG

@abgov/react-components

Version:

Government of Alberta - UI components for React

26 lines (25 loc) 860 B
import { ReactNode } from 'react'; import { Margins } from '@abgov/ui-components-common'; interface WCProps extends Margins { ref?: React.RefObject<HTMLElement | null>; id?: string; name?: string; "continue-msg"?: string; } declare module "react" { namespace JSX { interface IntrinsicElements { "goa-public-subform": WCProps & React.HTMLAttributes<HTMLElement>; } } } interface GoabPublicSubformProps extends Margins { id?: string; name?: string; continueMsg?: string; onInit?: (event: Event) => void; onStateChange?: (event: Event) => void; children: ReactNode; } export declare function GoabPublicSubform({ id, name, continueMsg, onInit, onStateChange, children, mt, mr, mb, ml, }: GoabPublicSubformProps): import("react/jsx-runtime").JSX.Element; export default GoabPublicSubform;