Skip to content

Commit

Permalink
[charts] Use correct click handler prop on pie chart `OnSeriesItemCli…
Browse files Browse the repository at this point in the history
…ck` documentation (mui#13761)

Signed-off-by: Tony Hallett <tonyhallett74@gmail.com>
Co-authored-by: Jose Quintas <juniorquintas@gmail.com>
  • Loading branch information
2 people authored and DungTiger committed Jul 23, 2024
1 parent ddb73c6 commit ed94a4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/charts/pie-demo/OnSeriesItemClick.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ${formatObject(identifier)}`}
data: items,
},
]}
onClick={handleClick}
onItemClick={handleClick}
width={400}
height={200}
margin={{ right: 200 }}
Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/pie-demo/OnSeriesItemClick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ${formatObject(identifier)}`}
data: items,
},
]}
onClick={handleClick}
onItemClick={handleClick}
width={400}
height={200}
margin={{ right: 200 }}
Expand Down

0 comments on commit ed94a4a

Please sign in to comment.