Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

156
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda