📅  最后修改于: 2022-03-11 15:01:22.286000             🧑  作者: Mango
function MyChart() {
const data = React.useMemo(
() => [
{
specialLabel: 'Hello World!',
data: [
//...
]
}
],
[]
)
const getLabel = React.useCallback(series => series.specialLabel, [])
return (
)
}