chore: fix ci problem
This commit is contained in:
parent
eaffe3ab21
commit
a32f3d9824
@ -261,7 +261,7 @@ ChartTooltipContent.displayName = "ChartTooltip"
|
||||
|
||||
const ChartLegend = RechartsPrimitive.Legend
|
||||
|
||||
type Payload = NonNullable<RechartsPrimitive.LegendProps['payload']>[number]
|
||||
type ChartLegendContentItem = NonNullable<RechartsPrimitive.LegendProps['payload']>[number]
|
||||
const ChartLegendContent = React.forwardRef<
|
||||
HTMLDivElement,
|
||||
React.ComponentProps<"div"> &
|
||||
@ -270,7 +270,7 @@ const ChartLegendContent = React.forwardRef<
|
||||
nameKey?: string
|
||||
} & {
|
||||
selectedItem?: string[]
|
||||
onItemClick?: (item: Payload) => void
|
||||
onItemClick?: (item: ChartLegendContentItem) => void
|
||||
}
|
||||
>(
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user