UNPKG

@abgov/react-components

Version:

Government of Alberta - UI components for React

25 lines (24 loc) 835 B
import { ReactNode } from 'react'; import { GoabFieldsetOnContinueDetail, GoabFormDispatchOn } from '@abgov/ui-components-common'; interface WCProps { ref?: React.RefObject<HTMLElement | null>; id?: string; "section-title"?: string; "dispatch-on"?: string; } declare module "react" { namespace JSX { interface IntrinsicElements { "goa-fieldset": WCProps & React.HTMLAttributes<HTMLElement>; } } } interface GoabFieldsetProps { id?: string; sectionTitle?: string; dispatchOn?: GoabFormDispatchOn; onContinue?: (event: GoabFieldsetOnContinueDetail) => void; children: ReactNode; } export declare function GoabFieldset({ id, sectionTitle, dispatchOn, onContinue, children, }: GoabFieldsetProps): import("react/jsx-runtime").JSX.Element; export default GoabFieldset;