Skip to content

Commit

Permalink
wip chore: Enhance onClick data
Browse files Browse the repository at this point in the history
  • Loading branch information
aralovelace committed Oct 23, 2024
1 parent 41ad6cd commit 4a225db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Accordion/Accordion.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const longData = data.map((datum) => ({

const dataWithCustomClickable = data.map((datum) => ({
...datum,
onClick: () => alert("Custom onClick"),
onClick: () => alert(`Custom onClick for ${datum.name} section`),
}));

const AccordionPresentation = ({ data, options }: AccordionProps) => (
Expand Down

0 comments on commit 4a225db

Please sign in to comment.