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