Skip to content

Commit

Permalink
Update packages/storybook-utils/src/actions.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Rickert <lars.rickert@mail.schwarz>
  • Loading branch information
JoCa96 and larsrickert committed Sep 17, 2024
1 parent ee12e02 commit e5cf304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storybook-utils/src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const withNativeEventLogging = (relevantEvents: (keyof Events)[]) =>
relevantEvents.reduce((argTypes, eventName) => {
const action = eventName.replace(/^on/, "").toLowerCase();
argTypes[eventName] = {
name: eventName,
name: action,
control: false,
description: `[${action}_event](https://developer.mozilla.org/en-US/search?q=element+${action}+event)`, // unfortunately there is no static path for all events
table: {
Expand Down

0 comments on commit e5cf304

Please sign in to comment.