UNPKG

@axa-fr/react-toolkit-form-steps

Version:

1. [Installation](#installation) 2. [Old Design Steps](#old-design-steps) 3. [New Design Steps](#new-design-steps)

16 lines 542 B
import { ComponentPropsWithoutRef, ReactNode } from 'react'; import StepBase from './StepBase'; declare type CustomClickEvent = { href: string; number?: ReactNode; id: string; title: string; }; declare type Props = ComponentPropsWithoutRef<typeof StepBase> & { href: string; number?: ReactNode; onClick?: (e: CustomClickEvent) => void; }; declare const StepLink: ({ id, href, number, title, className, onClick, ...otherProps }: Props) => JSX.Element; export default StepLink; //# sourceMappingURL=StepLink.d.ts.map