@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
24 lines (23 loc) • 856 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type WizardProperties<ET extends ElementType = 'ol'> = {
/** CSS Class Name */
className?: string;
/** show wizard in compact */
compact?: boolean;
/** Tag of Component */
tag?: ElementType;
/** show wizard in vertical */
vertical?: boolean;
} & ComponentPropsWithRef<ET>;
/**
* Manages and navigates multi-step processes within your application.
* @docs {@link https://design.visa.com/patterns/wizard | See Docs}
* @related wizard-step, use-wizard, use-accordion, badge, button
* @vgar TODO
* @wcag TODO
*/
declare const Wizard: {
<ET extends ElementType = "ol">({ className, compact, tag: Tag, vertical, ...remainingProps }: WizardProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Wizard;