Skip to content

Commit

Permalink
style(ui): update control property value in button and link story fil…
Browse files Browse the repository at this point in the history
…es to 'Control' for consistency and clarity
  • Loading branch information
h-campos committed Apr 23, 2024
1 parent 6e792b3 commit e492e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/ui/button/button.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const meta: Meta<typeof Button> = {
},
onClick: {
description: "The function to call when the button is clicked",
control: "function",
control: "Control",

Check failure on line 35 in src/lib/components/ui/button/button.story.tsx

View workflow job for this annotation

GitHub Actions / Typescript check

Type '"Control"' is not assignable to type 'Control | undefined'.
action: "clicked"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/ui/link/link.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const meta: Meta<typeof CustomLink> = {
},
onClick: {
description: "The function to call when the link is clicked",
control: "function",
control: "Control",

Check failure on line 21 in src/lib/components/ui/link/link.story.tsx

View workflow job for this annotation

GitHub Actions / Typescript check

Type '"Control"' is not assignable to type 'Control | undefined'.
action: "clicked"
}
}
Expand Down

0 comments on commit e492e62

Please sign in to comment.