UNPKG

@abgov/react-components

Version:

Government of Alberta - UI components for React

23 lines (22 loc) 803 B
import { GoabFormStepperOnChangeDetail, Margins } from '@abgov/ui-components-common'; import { ReactNode } from 'react'; interface WCProps extends Margins { ref?: React.RefObject<HTMLElement | null>; step?: number; testid?: string; } declare module "react" { namespace JSX { interface IntrinsicElements { "goa-form-stepper": WCProps & React.HTMLAttributes<HTMLElement>; } } } export interface GoabFormStepperProps extends Margins { step?: number; testId?: string; children?: ReactNode; onChange?: (detail: GoabFormStepperOnChangeDetail) => void; } export declare function GoabFormStepper({ testId, step, mt, mb, ml, mr, onChange, children, }: GoabFormStepperProps): import("react/jsx-runtime").JSX.Element; export default GoabFormStepper;