Skip to content

Commit

Permalink
feat(bump): adjust the documentation of event handlers now that we ca…
Browse files Browse the repository at this point in the history
…n get either a series or a point
  • Loading branch information
plouc committed May 1, 2024
1 parent 5fa2555 commit 87cb9fb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions website/src/data/components/bump/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,32 +375,32 @@ const props: ChartProperty[] = [
{
key: 'onMouseEnter',
group: 'Interactivity',
type: '(serie: BumpComputedSerie, event: MouseEvent) => void',
help: 'onMouseEnter handler.',
type: '(data: (BumpComputedSerie | BumpPoint), event: MouseEvent) => void',
help: 'onMouseEnter handler, for series by default, for points if `useMesh` is `true`.',
required: false,
flavors: ['svg'],
},
{
key: 'onMouseMove',
group: 'Interactivity',
type: '(serie: BumpComputedSerie, event: MouseEvent) => void',
help: 'onMouseMove handler.',
type: '(data: (BumpComputedSerie | BumpPoint), event: MouseEvent) => void',
help: 'onMouseMove handler, for series by default, for points if `useMesh` is `true`.',
required: false,
flavors: ['svg'],
},
{
key: 'onMouseLeave',
group: 'Interactivity',
type: '(serie: BumpComputedSerie, event: MouseEvent) => void',
help: 'onMouseLeave handler.',
type: '(data: (BumpComputedSerie | BumpPoint), event: MouseEvent) => void',
help: 'onMouseLeave handler, for series by default, for points if `useMesh` is `true`.',
required: false,
flavors: ['svg'],
},
{
key: 'onClick',
group: 'Interactivity',
type: '(serie: BumpComputedSerie, event: MouseEvent) => void',
help: 'onClick handler.',
help: 'onClick handler, for series by default, for points if `useMesh` is `true`.',
required: false,
flavors: ['svg'],
},
Expand Down

0 comments on commit 87cb9fb

Please sign in to comment.