Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

160
Visualizações
Customized Typescript Interface for Recharts Custom Tooltip

I am trying to add some more data to my customized Tooltip other than the data available by default. Now, I want to write a type for such a tooltip, already seen one of the solutions which has not passed anything else other than the props which recharts chart internally passes to the custom tooltip.

The solution I am referring to above: Typescript Interface for Recharts Custom Tooltip

my code: <Tooltip content={ <CustomToolTipComponent detailsType={detailsType} selectedItemUnit={selectedItemUnit} /> } />

I am using this tooltip for a Line Chart.

I tried searching for more solutions to it but can't find anything on recharts documentation and on any other platforms till now. The solution I mentioned above provides the inbuilt type for the collection of data passed to the Tooltip by default but doesn't give scope to add any other data type to it.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda