UNPKG

1.04 kBTypeScriptView Raw
1import * as React from 'react';
2export interface WizardNavItemProps {
3 /** Can nest a WizardNav component for substeps */
4 children?: React.ReactNode;
5 /** The content to display in the nav item */
6 content?: React.ReactNode;
7 /** Whether the nav item is the currently active item */
8 isCurrent?: boolean;
9 /** Whether the nav item is disabled */
10 isDisabled?: boolean;
11 /** The step passed into the onNavItemClick callback */
12 step: number;
13 /** Callback for when the nav item is clicked */
14 onNavItemClick?: (step: number) => any;
15 /** Component used to render WizardNavItem */
16 navItemComponent?: 'button' | 'a';
17 /** An optional url to use for when using an anchor component */
18 href?: string;
19 /** Flag indicating that this NavItem has child steps and is expandable */
20 isExpandable?: boolean;
21 /** The id for the nav item */
22 id?: string | number;
23}
24export declare const WizardNavItem: React.FunctionComponent<WizardNavItemProps>;
25//# sourceMappingURL=WizardNavItem.d.ts.map
\No newline at end of file