@visa/nova-react
Version:
Visa Product Design System Nova React library
27 lines (26 loc) • 1.03 kB
TypeScript
import { ElementType, ForwardedRef, ReactElement } from 'react';
export type WizardStepProperties = {
/** CSS Class Name */
className?: string;
} & ({
/** Cloned Element (not compatible with tag property) */
element?: never;
/** Tag (not compatible with element property) */
tag?: ElementType;
} | {
/** Cloned Element (not compatible with tag property) */
element?: ReactElement;
/** Tag (not compatible with element property) */
tag?: never;
});
/**
* Represents an individual step within a multi-step wizard process.
* @docs {@link https://design.visa.com/react/components/wizard | See Docs}
* @vgar TODO
* @wcag TODO
*/
declare const _default: <HTMLElementType = HTMLLIElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & (import("react").SVGAttributes<HTMLElementType> & WizardStepProperties)) => ReactElement;
export default _default;