Skip to content

Commit

Permalink
fix(StepNavigationItem): renderAnchor optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Utzel-Butzel committed Sep 5, 2022
1 parent 9e49ad1 commit 2e662bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/StepNavigation/StepNavigation.stories.js
Expand Up @@ -21,8 +21,7 @@ export const StepNavigationRegular = (args) => {
<StepNavigation
{...args}
onSelectionChange={(e) => setStep(e)}
selectedPage={step}
>
selectedPage={step}>
<StepNavigationItem label="Item without Status" page={0} />
<StepNavigationItem label="Active Item" page={1} />
<StepNavigationItem
Expand Down
2 changes: 1 addition & 1 deletion src/types/Navigation/StepNavigationItem.d.ts
Expand Up @@ -8,7 +8,7 @@ declare namespace StepNavigationItem {
label?: string;
role: string;
selectedPage: number;
renderAnchor: () => {};
renderAnchor?: () => {};
status?:
| 'not-started'
| 'warning'
Expand Down

0 comments on commit 2e662bf

Please sign in to comment.